Update install.sh
parent
8f42ec8d60
commit
9472d25bd7
|
@ -2,7 +2,9 @@
|
||||||
|
|
||||||
BASE=$HOME/.dotfiles
|
BASE=$HOME/.dotfiles
|
||||||
|
|
||||||
git clone https://github.com/sundowndev/dotfiles $BASE
|
if [ ! -d "$BASE" ]; then
|
||||||
|
git clone https://github.com/sundowndev/dotfiles $BASE
|
||||||
|
fi
|
||||||
|
|
||||||
# links
|
# links
|
||||||
ln -fs ${BASE}/bashrc ${HOME}/.bashrc
|
ln -fs ${BASE}/bashrc ${HOME}/.bashrc
|
||||||
|
@ -12,7 +14,7 @@ ln -fs ${BASE}/zshrc ${HOME}/.zshrc
|
||||||
ln -fs ${BASE}/gitignore ${HOME}/.gitignore
|
ln -fs ${BASE}/gitignore ${HOME}/.gitignore
|
||||||
|
|
||||||
# mac
|
# mac
|
||||||
if [ [ -z "$(which brew)" ] ]; then
|
if [ -z "$(which brew)" ]; then
|
||||||
echo "detected mac os"
|
echo "detected mac os"
|
||||||
#brew install git vim wget fzf tree tmux graphviz transmission bash-completion reattach-to-user-namespace
|
#brew install git vim wget fzf tree tmux graphviz transmission bash-completion reattach-to-user-namespace
|
||||||
#brew cask install virtualbox virtualbox-extension-pack vagrant flux spectacle iterm2
|
#brew cask install virtualbox virtualbox-extension-pack vagrant flux spectacle iterm2
|
||||||
|
|
Loading…
Reference in New Issue