3 files changed,
41 insertions(+),
8 deletions(-)
M
config/fish/conf.d/aliases.fish
··· 7 7 alias chmox "chmod +x" 8 8 alias ":q" exit 9 9 10 -alias g git 11 -alias d docker 12 -alias dcm "docker compose" 13 - 14 10 alias ... "cd ../.." 15 11 alias .3 "cd ../../.." 16 12 17 13 alias killbt "rfkill block bluetooth" 18 14 alias unkillbt "rfkill unblock bluetooth" 19 15 16 +alias g git 20 17 if type -q hledger; alias f hledger; end 21 18 if type -q jj; alias j jj; end 22 19 if type -q todo.sh; alias t todo.sh; end
A
config/fish/conf.d/colors.fish
··· 1 +status is-interactive; or exit 2 + 3 +set -l foreground c0caf5 4 +set -l selection 283457 5 +set -l comment 565f89 6 +set -l red f7768e 7 +set -l orange ff9e64 8 +set -l yellow e0af68 9 +set -l green 9ece6a 10 +set -l purple 9d7cd8 11 +set -l cyan 7dcfff 12 +set -l pink bb9af7 13 + 14 +set -g fish_color_normal $foreground 15 +set -g fish_color_command $cyan 16 +set -g fish_color_keyword $pink 17 +set -g fish_color_quote $yellow 18 +set -g fish_color_redirection $foreground 19 +set -g fish_color_end $orange 20 +set -g fish_color_option $pink 21 +set -g fish_color_error $red 22 +set -g fish_color_param $purple 23 +set -g fish_color_comment $comment 24 +set -g fish_color_selection --background=$selection 25 +set -g fish_color_search_match --background=$selection 26 +set -g fish_color_operator $green 27 +set -g fish_color_escape $pink 28 +set -g fish_color_autosuggestion $comment 29 + 30 +set -g fish_pager_color_progress $comment 31 +set -g fish_pager_color_prefix $cyan 32 +set -g fish_pager_color_completion $foreground 33 +set -g fish_pager_color_description $comment 34 +set -g fish_pager_color_selected_background --background=$selection
M
config/fish/functions/sortw.fish
··· 1 -function sortw -d "Wrapper around sort to save file after sorting" 1 +function sortw -d "Wrapper around sort that saves file after sorting" 2 2 if test (count $argv) -eq 0 3 - echo "No file provided" 4 - return 1 5 - else 3 + sort 4 + else if test (count $argv) -eq 1 6 5 command sort $argv[1] -o $argv[1] 6 + else 7 + echo "I don't know what to do, too many arguments" 8 + return 2 7 9 end 8 10 end