Fish/nvim config
This commit is contained in:
@@ -9,15 +9,6 @@ if not_installed "fish"; then
|
||||
fi
|
||||
echo "fish is installed"
|
||||
|
||||
# current_shell="$(getent passwd $USER | cut -d: -f7)"
|
||||
# fish_path="$(which fish)"
|
||||
# if [ "$current_shell" != "$fish_path" ]; then
|
||||
# echo "setting fish as default, current shell was $current_shell"
|
||||
# sudo chsh -s "$fish_path" "$USER"
|
||||
# sudo usermod -s "$fish_path" "$USER"
|
||||
# fi
|
||||
# echo "fish is default login shell"
|
||||
|
||||
fish_source="$dotfiles_dir/fish"
|
||||
fish_target="$XDG_CONFIG_HOME/fish"
|
||||
link_folder "$fish_source" "$fish_target"
|
||||
@@ -31,7 +22,7 @@ if ! [ -f "$fisher_location" ]; then
|
||||
curl https://git.io/fisher --create-dirs -sLo "$fisher_location"
|
||||
fi
|
||||
echo "fisher is installed, updating..."
|
||||
fish -c "fisher"
|
||||
sh -c 'env HOME=$(mktemp -d) fish -c "fisher"'
|
||||
|
||||
fish -c "fisher --version"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user