feature/update-fisher #2

Merged
T31M merged 2 commits from feature/update-fisher into master 2021-02-01 19:04:06 +01:00
10 changed files with 8 additions and 7 deletions
Showing only changes of commit dbaef057a1 - Show all commits

View File

@ -3,7 +3,7 @@
set -x
# install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
# install pyenv
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
@ -16,14 +16,15 @@ git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
bash ~/.fzf/install --no-update-rc --completion --key-bindings
# install fisher
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish
#curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish
curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher $plugins
# copy fish config
if test -f "~/.config/fish/config.fish"; then
if test -f "~/.config/fish/functions/config.fish"; then
echo "config.fish already exist, please rename to continue."
exit 1
fi
cp fish/config.fish ~/.config/fish/
cp fish/config.fish ~/.config/fish/functions/
# copy fishfile
if test -f "~/.config/fish/fishfile"; then
@ -35,9 +36,9 @@ cp fish/fishfile ~/.config/fish/
echo "set --export PYENV_ROOT $HOME/.pyenv" > ~/.config/fish/conf.d/pyenv.fish
# install packages from fishfile
fish -c "fisher self-update"
fish -c fisher
fish -c "fisher add (pwd)/fish/theme-t31m"
fish -c "fisher install jorgebucaran/fisher"
fish -c "fisher update"
fish -c "fisher install (pwd)/fish/theme-t31m"
# set fish default shell
echo "Change your default Shell to FiSH: chsh -s /usr/bin/fish"