Install using ssh
parent
4b5370ad2c
commit
331cf69086
21
install.sh
21
install.sh
|
@ -3,7 +3,7 @@
|
|||
BASE=$HOME/.dotfiles
|
||||
|
||||
if [ ! -d "$BASE" ]; then
|
||||
git clone https://github.com/sundowndev/dotfiles $BASE
|
||||
git clone git@github.com:sundowndev/dotfiles.git $BASE
|
||||
else
|
||||
echo "dotfiles already installed"
|
||||
fi
|
||||
|
@ -15,25 +15,6 @@ ln -fs ${BASE}/bash_aliases ${HOME}/.bash_aliases
|
|||
ln -fs ${BASE}/zshrc ${HOME}/.zshrc
|
||||
ln -fs ${BASE}/gitignore ${HOME}/.gitignore
|
||||
|
||||
# mac
|
||||
if [ -z "$(which brew)" ]; then
|
||||
echo "detected mac os"
|
||||
#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
|
||||
# [ -f /usr/local/etc/bash_completion.d/git-completion.bash ] || \
|
||||
# wget https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -P \
|
||||
# /usr/local/etc/bash_completion.d/
|
||||
else
|
||||
# linux
|
||||
echo "detected linux os"
|
||||
#sudo apt install -y git vim tmux wget transmission virtualbox virtualbox-ext-pack
|
||||
#git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
|
||||
#sudo -y ~/.fzf/install
|
||||
# [ -f /etc/bash_completion.d/git-completion.bash ] || \
|
||||
# sudo wget https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -P \
|
||||
# /etc/bash_completion.d/
|
||||
fi
|
||||
|
||||
git config --global user.email "raphael@crvx.fr"
|
||||
git config --global user.name "sundowndev"
|
||||
|
||||
|
|
Loading…
Reference in New Issue