aboutsummaryrefslogtreecommitdiff
path: root/fish
diff options
context:
space:
mode:
authorGravatar Marina Barros <azulmarina799@gmail.com> 2026-03-01 22:42:32 +0000
committerGravatar Marina Barros <azulmarina799@gmail.com> 2026-03-02 01:45:12 +0000
commit2ef3ad6faf5127d946130660d7e7b6f4b5ff5d58 (patch)
treeedd4e39ddae5732473a77414a63b1c090d42685d /fish
parent96687e7aafc7f48af614e176ab397abae216489c (diff)
fish atualizado agora mais bonito
Diffstat (limited to 'fish')
-rw-r--r--fish/conf.d/fish_frozen_key_bindings.fish14
-rw-r--r--fish/conf.d/fish_frozen_theme.fish26
-rw-r--r--fish/config.fish25
-rw-r--r--fish/themes/modus_vivendi.theme24
4 files changed, 44 insertions, 45 deletions
diff --git a/fish/conf.d/fish_frozen_key_bindings.fish b/fish/conf.d/fish_frozen_key_bindings.fish
deleted file mode 100644
index 495aee9..0000000
--- a/fish/conf.d/fish_frozen_key_bindings.fish
+++ /dev/null
@@ -1,14 +0,0 @@
-# This file was created by fish when upgrading to version 4.3, to migrate
-# the 'fish_key_bindings' variable from its old default scope (universal)
-# to its new default scope (global). We recommend you delete this file
-# and configure key bindings in ~/.config/fish/config.fish if needed.
-
-# set --global fish_key_bindings fish_default_key_bindings
-
-# Prior to version 4.3, fish shipped an event handler that runs
-# `set --universal fish_key_bindings fish_default_key_bindings`
-# whenever the fish_key_bindings variable is erased.
-# This means that as long as any fish < 4.3 is still running on this system,
-# we cannot complete the migration.
-# As a workaround, erase the universal variable at every shell startup.
-set --erase --universal fish_key_bindings
diff --git a/fish/conf.d/fish_frozen_theme.fish b/fish/conf.d/fish_frozen_theme.fish
index 354d401..306faa0 100644
--- a/fish/conf.d/fish_frozen_theme.fish
+++ b/fish/conf.d/fish_frozen_theme.fish
@@ -1,16 +1,13 @@
-# This file was created by fish when upgrading to version 4.3, to migrate
-# theme variables from universal to global scope.
# Don't edit this file, as it will be written by the web-config tool (`fish_config`).
# To customize your theme, delete this file and see
# help interactive#syntax-highlighting
# or
# man fish-interactive | less +/^SYNTAX.HIGHLIGHTING
# for appropriate commands to add to ~/.config/fish/config.fish instead.
-# See also the release notes for fish 4.3.0 (run `help relnotes`).
set --global fish_color_autosuggestion brblack
set --global fish_color_cancel --reverse
-set --global fish_color_command blue
+set --global fish_color_command normal
set --global fish_color_comment red
set --global fish_color_cwd green
set --global fish_color_cwd_root red
@@ -19,29 +16,18 @@ set --global fish_color_error brred
set --global fish_color_escape brcyan
set --global fish_color_history_current --bold
set --global fish_color_host normal
-set --global fish_color_host_remote
-set --global fish_color_keyword
+set --global fish_color_host_remote yellow
set --global fish_color_normal normal
set --global fish_color_operator brcyan
-set --global fish_color_option
set --global fish_color_param cyan
set --global fish_color_quote yellow
set --global fish_color_redirection cyan --bold
-set --global fish_color_search_match white --background=brblack
+set --global fish_color_search_match white --bold --background=brblack
set --global fish_color_selection white --bold --background=brblack
set --global fish_color_status red
set --global fish_color_user brgreen
-set --global fish_color_valid_path --underline
-set --global fish_pager_color_background
-set --global fish_pager_color_completion normal
+set --global fish_color_valid_path --underline=single
set --global fish_pager_color_description yellow --italics
-set --global fish_pager_color_prefix normal --bold --underline
-set --global fish_pager_color_progress brwhite --background=cyan
-set --global fish_pager_color_secondary_background
-set --global fish_pager_color_secondary_completion
-set --global fish_pager_color_secondary_description
-set --global fish_pager_color_secondary_prefix
+set --global fish_pager_color_prefix normal --bold --underline=single
+set --global fish_pager_color_progress brwhite --bold --background=cyan
set --global fish_pager_color_selected_background --reverse
-set --global fish_pager_color_selected_completion
-set --global fish_pager_color_selected_description
-set --global fish_pager_color_selected_prefix
diff --git a/fish/config.fish b/fish/config.fish
index ffe0f0f..2a3b984 100644
--- a/fish/config.fish
+++ b/fish/config.fish
@@ -7,31 +7,34 @@ status is-interactive; and begin
abbr --add -- la 'eza -a'
abbr --add -- ll 'eza -l'
abbr --add -- lla 'eza -la'
- abbr --add -- ls eza
abbr --add -- lt 'eza --tree'
+ fish_config theme choose modus_vivendi
+
# Interactive shell initialisation
- set hydro_color_pwd yellow
- set hydro_color_prompt green
- set hydro_color_git red
- set hydro_cmd_duration_threshold 30000
+ set --global hydro_color_pwd yellow
+ set --global hydro_color_prompt green
+ set --global hydro_color_git red
+ set --global hydro_cmd_duration_threshold 30000
+
+ set --global LEDGER_FILE $HOME/finanças/dindin.journal
- set -gx GPG_TTY (tty)
+ set --global --export GPG_TTY (tty)
gpg-connect-agent --quiet updatestartuptty /bye >/dev/null
- if functions -q fzf_configure_bindings
- fzf_configure_bindings --variables=\ev
+ if functions --query fzf_configure_bindings
+ fzf_configure_bindings --directory=\ct --variables=\ev
end
- if command -q any-nix-shell
+ if command --query any-nix-shell
any-nix-shell fish --info-right | source
end
- if command -q zoxide
+ if command --query zoxide
zoxide init fish | source
end
- if command -q direnv
+ if command --query direnv
direnv hook fish | source
end
end
diff --git a/fish/themes/modus_vivendi.theme b/fish/themes/modus_vivendi.theme
new file mode 100644
index 0000000..6b98678
--- /dev/null
+++ b/fish/themes/modus_vivendi.theme
@@ -0,0 +1,24 @@
+# name: modus-vivendi
+# src: https://gist.githubusercontent.com/nukosuke/12e1459f7769157704513ce15a1e5646/raw/b82e8698d64f9d40d86c8aa8cb097aaad8ba44c7/modus-vivendi.fish
+
+# Syntax Highlighting Colors
+fish_color_normal ffffff
+fish_color_command 9f80ff
+fish_color_keyword ff62d4
+fish_color_quote 4fafff
+fish_color_redirection ffffff
+fish_color_end fba849
+fish_color_error fe6060
+fish_color_param 3fdfd0
+fish_color_comment a8a8a8
+fish_color_selection --background=34cfff
+fish_color_search_match --background=34cfff
+fish_color_operator 4fe42f
+fish_color_escape ff62d4
+fish_color_autosuggestion a8a8a8
+
+# Completion Pager Colors
+fish_pager_color_progress a8a8a8
+fish_pager_color_prefix 3fdfd0
+fish_pager_color_completion ffffff
+fish_pager_color_description a8a8a8