fixing snap
This commit is contained in:
parent
cf6616f4d1
commit
adb4d1aa5d
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user