fixing snap

This commit is contained in:
Anton Volnuhin 2023-05-28 09:56:09 +03:00
parent cf6616f4d1
commit adb4d1aa5d
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,6 @@
set -gx PATH /usr/local/opt/coreutils/libexec/gnubin $PATH
set -gx PATH /usr/local/bin $PATH
set -gx PATH /snap/bin $PATH
set -gx GOPATH $HOME/.go
set -gx PATH $HOME/.local/bin $PATH
set -gx PATH $HOME/.cargo/bin $PATH

View File

@ -48,14 +48,15 @@ USER=$(whoami)
sudo apt install fish -y
{{ end -}}
fish -c "fish_add_path -U /snap/bin"
{{ end -}}
## Install fisher plugin manager for fish, so that we may update in after plugin list sync by chezmoi
fish -c "curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher"
## Change default shell to fish
echo "\nChanging shell to fish for user $USER"
echo
echo
echo "Changing shell to fish for user $USER"
sudo chsh -s $(which fish) $USER