Last active
June 27, 2018 07:49
-
-
Save alhoqbani/0597c7fa4e10b30e99321f1c56e130be to your computer and use it in GitHub Desktop.
dotfiles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| echo Changing to Home directory... | |
| cd $HOME | |
| echo Cloning the repo.. | |
| git clone --bare https://github.com/alhoqbani/dotfiles.git .dotfiles | |
| echo Done Cloning. | |
| echo Checkout the files | |
| cd .dotfiles | |
| git config status.showuntrackedfiles no | |
| git --work-tree=$HOME checkout -f | |
| source $HOME/.bash_profile | |
| echo Done | |
| git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim | |
| vim +PluginInstall +qall | |
| sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
| git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
| # To override .zshrc file (update files on home dir) | |
| git --work-tree=$HOME checkout -f | |
| # Load iTerm2 Prefrences | |
| # Specify the preferences directory | |
| defaults write com.googlecode.iterm2.plist PrefsCustomFolder -string "~/.dotfiles/iterm2" | |
| # Tell iTerm2 to use the custom preferences in the directory | |
| defaults write com.googlecode.iterm2.plist LoadPrefsFromCustomFolder -bool true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment