fix: fish/nvim

This commit is contained in:
Andrejus
2021-04-22 19:05:29 +01:00
parent d768d3da1a
commit 1ba16634de
3 changed files with 17 additions and 10 deletions

View File

@@ -1,6 +1,12 @@
#!/usr/bin/env bash
fish --version
current_shell=`readlink -f /proc/$$/exe`
fish_shell=`which fish`
if [[ "$current_shell" != "$fish_shell" ]]; then
chsh -s "$fish_shell"
fi
fisher_location="$XDG_CONFIG_HOME/fish/functions/fisher.fish"
if ! [ -f $fisher_location ]; then
fish -c "curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher"