.dotfiles
My configuration, with installations steps.
Installation
Oh My ZSH
Install with this command:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Set ZSH as default shell
ZSH Theme
Spaceship theme
Clone this repo:
git clone https://github.com/spaceship-prompt/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1
Symlink spaceship.zsh-theme
to your oh-my-zsh custom themes directory:
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
ZSH plugins
Install zsh-completions:
git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions
Install zsh-autosuggestions:
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
Install zsh-syntax-highlighting:
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
Color LS
Requires ruby.
Install gem:
gem install colorls
The Fuck
OSX:
brew install thefuck
Debian:
pip3 install thefuck --user
Stow
Install GNU stow.
Debian:
sudo apt-get install stow
OSX:
brew install stow
To install the dotfiles, first backup and remove all the dotfiles already there (otherwise stow will not work), then:
stow -R */
stow -D term # the term folder should not be stowed
Sync
Use git