fish: remove useless init commands

This commit is contained in:
Leonardo Eugênio 2024-08-21 11:48:45 -03:00
parent 59c5099cd6
commit 92c5040b91

View file

@ -18,17 +18,9 @@ in
set -U fish_features stderr-nocaret qmark-noglob regex-easyesc ampersand-nobg-in-token set -U fish_features stderr-nocaret qmark-noglob regex-easyesc ampersand-nobg-in-token
set_color red set_color red
if not test -d "$PASSWORD_STORE_DIR"
echo "Password Store not yet setup"
end
if not test -f "$HOME/.ssh/id_rsa" if not test -f "$HOME/.ssh/id_rsa"
echo "SSH keys not yet setup" echo "SSH keys not yet setup"
end end
if command -qs rustup &> /dev/null
if not command -qs rustc; or not rustc --version &> /dev/null
rustup default stable &>/dev/null &
end
end
set_color normal set_color normal
bind \cy 'commandline | wl-copy -n' bind \cy 'commandline | wl-copy -n'