better wget robustness

This commit is contained in:
Anri 2021-11-08 17:03:05 +01:00
parent ff9db91f42
commit f919e419f1

View file

@ -12,10 +12,10 @@ fish -c 'set -U fish_greeting'
curl -sL https://git.io/fisher | fish -c 'source && fisher install jorgebucaran/fisher'
fish -c 'fisher install jethrokuan/fzf'
# Installe SSH
wget https://gitlab.com/kyb/fish_ssh_agent/raw/master/functions/fish_ssh_agent.fish -P $HOME/.config/fish/functions/
rm $HOME/.config/fish/functions/fish_ssh_agent.fish 2>/dev/null; wget https://gitlab.com/kyb/fish_ssh_agent/raw/master/functions/fish_ssh_agent.fish -P $HOME/.config/fish/functions/
# Met à jour ma configuration personnalisée SSH
wget https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/.ssh/config -P $HOME/.ssh/
rm $HOME/.ssh/config 2>/dev/null; wget https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/.ssh/config -P $HOME/.ssh/
# Met à jour ma configuration personalisée Fish
wget https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/.config/fish/config.fish -P $HOME/.config/fish/
rm $HOME/.config/fish/config.fish 2>/dev/null; wget https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/.config/fish/config.fish -P $HOME/.config/fish/
# Met à jour mon prompt personalisée Fish
wget https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/.config/fish/functions/fish_prompt.fish -P $HOME/.config/fish/functions/
rm $HOME/.config/fish/functions/fish_prompt.fish 2>/dev/null; wget https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/.config/fish/functions/fish_prompt.fish -P $HOME/.config/fish/functions/