removes unnecessary fish config

This commit is contained in:
Dennis 2025-10-23 08:33:38 +02:00
parent a0d1e21dcf
commit 342b325a0b

View file

@ -52,29 +52,6 @@
vterm_printf = '' vterm_printf = ''
printf "\e]%s\e\\" "$argv" printf "\e]%s\e\\" "$argv"
''; '';
setup_gpg = ''
set -x GPG_TTY (tty)
if not test -d $HOME/.gnupg
mkdir -p $HOME/.gnupg
chmod 700 $HOME/.gnupg
end
set pinentry_line "pinentry-program "(which pinentry-mac)
if test -f $HOME/.gnupg/gpg-agent.conf
if not grep -Fxq $pinentry_line $HOME/.gnupg/gpg-agent.conf
echo $pinentry_line >> $HOME/.gnupg/gpg-agent.conf
end
else
echo $pinentry_line > $HOME/.gnupg/gpg-agent.conf
end
if pgrep gpg-agent > /dev/null
killall gpg-agent
end
echo "gpg + pinentry-mac installed and configured."
'';
}; };
interactiveShellInit = '' interactiveShellInit = ''
@ -83,14 +60,6 @@
set -x GPG_TTY (tty) set -x GPG_TTY (tty)
if test "$INSIDE_EMACS" != "vterm"
set fish_cursor_insert line blink
set fish_cursor_replace_one underscore blink
set fish_cursor_visual block
set fish_vi_force_cursor 1
fish_vi_key_bindings
end
fish_add_path /run/current-system/sw/bin fish_add_path /run/current-system/sw/bin
fish_add_path /opt/homebrew/bin fish_add_path /opt/homebrew/bin