Install using ssh

master
Raphael 2019-05-13 19:44:04 +02:00 committed by GitHub
parent 4b5370ad2c
commit 331cf69086
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 20 deletions

View File

@ -3,7 +3,7 @@
BASE=$HOME/.dotfiles BASE=$HOME/.dotfiles
if [ ! -d "$BASE" ]; then if [ ! -d "$BASE" ]; then
git clone https://github.com/sundowndev/dotfiles $BASE git clone git@github.com:sundowndev/dotfiles.git $BASE
else else
echo "dotfiles already installed" echo "dotfiles already installed"
fi fi
@ -15,25 +15,6 @@ ln -fs ${BASE}/bash_aliases ${HOME}/.bash_aliases
ln -fs ${BASE}/zshrc ${HOME}/.zshrc ln -fs ${BASE}/zshrc ${HOME}/.zshrc
ln -fs ${BASE}/gitignore ${HOME}/.gitignore 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.email "raphael@crvx.fr"
git config --global user.name "sundowndev" git config --global user.name "sundowndev"