removes fish theme
This commit is contained in:
parent
87c990bf2a
commit
7e870965d4
1 changed files with 17 additions and 19 deletions
|
|
@ -53,33 +53,31 @@
|
|||
printf "\e]%s\e\\" "$argv"
|
||||
'';
|
||||
setup_gpg = ''
|
||||
set -x GPG_TTY (tty)
|
||||
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
|
||||
if not test -d $HOME/.gnupg
|
||||
mkdir -p $HOME/.gnupg
|
||||
chmod 700 $HOME/.gnupg
|
||||
end
|
||||
else
|
||||
echo $pinentry_line > $HOME/.gnupg/gpg-agent.conf
|
||||
end
|
||||
|
||||
if pgrep gpg-agent > /dev/null
|
||||
killall gpg-agent
|
||||
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
|
||||
|
||||
echo "gpg + pinentry-mac installed and configured."
|
||||
if pgrep gpg-agent > /dev/null
|
||||
killall gpg-agent
|
||||
end
|
||||
|
||||
echo "gpg + pinentry-mac installed and configured."
|
||||
'';
|
||||
};
|
||||
|
||||
interactiveShellInit = ''
|
||||
fish_config theme choose "Rosé Pine"
|
||||
|
||||
set hn (prompt_hostname)
|
||||
set fish_cursor_default block blink
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue