Lots of stuff. Working on refactoring

This commit is contained in:
Thomas Loven
2017-10-14 09:47:18 +02:00
parent 8230d22739
commit 1b5423997e
23 changed files with 620 additions and 12 deletions

21
fish/setup.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/usr/bin/env bash
function setup_fish()
{
brew install fish
if ! grep /usr/local/bin/fish < /etc/shells >/dev/null; then
echo /usr/local/bin/fish | sudo tee -a /etc/shells
chsh -s /usr/local/bin/fish
fi
}
function link_config()
{
mkdir ${HOME}/.config
ln -s ${DOTFILES}/fish ${HOME}/.config/.
}
export DOTFILES=/Users/thomas/dotfiles
setup_fish
link_config