Agnoster via fundle.

This commit is contained in:
Bartek Stalewski 2016-06-16 20:23:37 +02:00
parent c95fb43b9f
commit d79cc5ad7a

View File

@ -26,6 +26,13 @@ ln -sf ~/.dotfiles/tmux.conf ~/.tmux.conf
# fish # fish
touch ~/.fish.local touch ~/.fish.local
mkdir -p ~/.config/fish/functions mkdir -p ~/.config/fish/functions
curl -L https://github.com/oh-my-fish/theme-agnoster/raw/master/fish_prompt.fish > ~/.config/fish/functions/fish_prompt.fish #curl -L https://github.com/oh-my-fish/theme-agnoster/raw/master/fish_prompt.fish > ~/.config/fish/functions/fish_prompt.fish
curl -sfL https://git.io/fundle-install | fish
echo "fundle plugin 'hauleth/agnoster'" >> ~/.config/fish/config.fish
echo "fundle init" >> ~/.config/fish/config.fish
echo 'set fish_greeting ""' >> ~/.config/fish/config.fish echo 'set fish_greeting ""' >> ~/.config/fish/config.fish
if [ ! `whoami` = "root" ]; then
echo 'set -x DEFAULT_USER $LOGNAME' >> ~/.config/fish/config.fish
fi
echo 'source ~/.fish.local' >> ~/.config/fish/config.fish echo 'source ~/.fish.local' >> ~/.config/fish/config.fish
fish -c 'fundle install; agnoster powerline'