removes unnecessary fish config
This commit is contained in:
parent
a0d1e21dcf
commit
342b325a0b
1 changed files with 0 additions and 31 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue