feat: lots of changes, wrote own fish theme

This commit is contained in:
2020-02-22 21:32:57 +01:00
parent 493ea5d7bd
commit 39f4f893c6
11 changed files with 383 additions and 2 deletions

31
fish_setup.sh Normal file
View File

@ -0,0 +1,31 @@
#!/bin/bash
# install fisher
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish
# copy fish config
if test -f "~/.config/fish/config.fish"; then
echo "config.fish already exist, please rename to continue."
exit 1
fi
cp fish/config.fish ~/.config/fish/
# copy fishfile
if test -f "~/.config/fish/fishfile"; then
echo "fishfile already exist, please rename to continue."
exit 1
fi
cp fish/fishfile ~/.config/fish/
# install packages from fishfile
fish -c "fisher self-update"
fish -c fisher
fish -c "fisher add (pwd)/fish/theme-t31m"
# customize theme / prompt
cp dot.config/fish/functions/* ~/.config/fish/functions
# set fish default promt
chsh -s /usr/bin/fish
cp dot.vimrc ~/.vimrc