Correct mistakes; Add dracula theme to fish; #Consider using fisher as a plugin manager

This commit is contained in:
David Holland 2022-09-06 16:49:08 +02:00
parent 1d73a2b920
commit 94358c267e
Signed by: DustVoice
GPG key ID: 47068995A14EDCA9
3 changed files with 53 additions and 4 deletions

View file

@ -0,0 +1,50 @@
# Dracula Color Palette
set -l foreground f8f8f2
set -l selection 44475a
set -l comment 6272a4
set -l red ff5555
set -l orange ffb86c
set -l yellow f1fa8c
set -l green 50fa7b
set -l purple bd93f9
set -l cyan 8be9fd
set -l pink ff79c6
# Syntax Highlighting Colors
set -gx fish_color_normal $foreground
set -gx fish_color_command $cyan
set -gx fish_color_keyword $pink
set -gx fish_color_quote $yellow
set -gx fish_color_redirection $foreground
set -gx fish_color_end $orange
set -gx fish_color_error $red
set -gx fish_color_param $purple
set -gx fish_color_comment $comment
set -gx fish_color_selection --background=$selection
set -gx fish_color_search_match --background=$selection
set -gx fish_color_operator $green
set -gx fish_color_escape $pink
set -gx fish_color_autosuggestion $comment
set -gx fish_color_cancel $red --reverse
set -gx fish_color_option $orange
# Default Prompt Colors
set -gx fish_color_cwd $green
set -gx fish_color_host $purple
set -gx fish_color_host_remote $purple
set -gx fish_color_user $cyan
# Completion Pager Colors
set -gx fish_pager_color_progress $comment
set -gx fish_pager_color_background
set -gx fish_pager_color_prefix $cyan
set -gx fish_pager_color_completion $foreground
set -gx fish_pager_color_description $comment
set -gx fish_pager_color_selected_background --background=$selection
set -gx fish_pager_color_selected_prefix $cyan
set -gx fish_pager_color_selected_completion $foreground
set -gx fish_pager_color_selected_description $comment
set -gx fish_pager_color_secondary_background
set -gx fish_pager_color_secondary_prefix $cyan
set -gx fish_pager_color_secondary_completion $foreground
set -gx fish_pager_color_secondary_description $comment

View file

@ -3,5 +3,5 @@ function dmenu_fish --description 'Open fish agnostic dmenu'
set commands $(string join \n $fns $(dmenu_path) | sort | dmenu -i -fn "$(get-font)" -nb "#282a36" -nf "#f8f8f2" -sb "#44475a" -sf "#f8f8f2") set commands $(string join \n $fns $(dmenu_path) | sort | dmenu -i -fn "$(get-font)" -nb "#282a36" -nf "#f8f8f2" -sb "#44475a" -sf "#f8f8f2")
eval $command_to_run & fish -c "$command_to_run" &
end end

View file

@ -6,7 +6,7 @@ function hyperv-gpg-agent
rm $socket_path rm $socket_path
end end
setsid socat UNIX-LISTEN:$socket_path,fork tcp-connect:$host_ip:59545 & screen -dmS gpg-socat socat UNIX-LISTEN:$socket_path,fork tcp-connect:$host_ip:59545
end end
function hyperv-ssh-agent function hyperv-ssh-agent
@ -16,8 +16,7 @@ function hyperv-ssh-agent
if test -e $socket_path if test -e $socket_path
rm $socket_path rm $socket_path
end end
screen -dmS ssh-socat socat UNIX-LISTEN:$socket_path,fork tcp-connect:$host_ip:59546
setsid socat UNIX-LISTEN:$socket_path,fork tcp-connect:$host_ip:59546 &
end end
function hyperv-forward --description 'Setup hyperv-agent forwarding' function hyperv-forward --description 'Setup hyperv-agent forwarding'