Last active
August 5, 2019 15:34
-
-
Save TheSETJ/06d00ddcd52f45a403500a4a500ecaeb to your computer and use it in GitHub Desktop.
My Z Shell configuration file
This file contains 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/zsh - | |
# History | |
HISTSIZE=5000 | |
HISTFILE=~/.zsh_history | |
SAVEHIST=5000 | |
setopt appendhistory | |
setopt sharehistory | |
setopt incappendhistory | |
# Aliases | |
alias ll="ls -a --color=auto" | |
# Geometry Theme | |
# from https://github.com/geometry-zsh/geometry | |
if [[ ! -a $HOME/.zsh-plugins/geometry/geometry.zsh ]] then | |
git clone https://github.com/geometry-zsh/geometry $HOME/.zsh-plugins/geometry | |
fi | |
source ~/.zsh-plugins/geometry/geometry.zsh | |
# Zsh Dircolors Solarized Plugin | |
# from https://github.com/joel-porquet/zsh-dircolors-solarized | |
if [[ ! -a $HOME/.zsh-plugins/zsh-dircolors-solarized/zsh-dircolors-solarized.zsh ]] then | |
git clone --recursive https://github.com/joel-porquet/zsh-dircolors-solarized $HOME/.zsh-plugins/zsh-dircolors-solarized | |
fi | |
source ~/.zsh-plugins/zsh-dircolors-solarized/zsh-dircolors-solarized.zsh | |
if [[ ! -a $HOME/.zsh-dircolors.config ]] then | |
setupsolarized dircolors.ansi-universal | |
fi | |
# Zsh Autosuggestions Plugin | |
# from https://github.com/zsh-users/zsh-autosuggestions | |
if [[ ! -a $HOME/.zsh-plugins/zsh-autosuggestions/zsh-autosuggestions.zsh ]] then | |
git clone https://github.com/zsh-users/zsh-autosuggestions $HOME/.zsh-plugins/zsh-autosuggestions | |
fi | |
source ~/.zsh-plugins/zsh-autosuggestions/zsh-autosuggestions.zsh | |
# Fast Syntax Highlighting Plugin | |
# from https://github.com/zdharma/fast-syntax-highlighting | |
if [[ ! -a $HOME/.zsh-plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh ]] then | |
git clone https://github.com/zdharma/fast-syntax-highlighting $HOME/.zsh-plugins/fast-syntax-highlighting | |
fi | |
source ~/.zsh-plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh | |
# History Search Multi Word Plugin | |
# from https://github.com/zdharma/history-search-multi-word | |
if [[ ! -a $HOME/.zsh-plugins/history-search-multi-word/history-search-multi-word.plugin.zsh ]] then | |
git clone https://github.com/zdharma/history-search-multi-word $HOME/.zsh-plugins/history-search-multi-word | |
fi | |
source ~/.zsh-plugins/history-search-multi-word/history-search-multi-word.plugin.zsh | |
# Zsh Autocomplete | |
# from https://github.com/zsh-users/zsh-completions | |
if [[ ! -a $HOME/.zsh-plugins/zsh-completions/zsh-completions.plugin.zsh ]] then | |
git clone https://github.com/zsh-users/zsh-completions $HOME/.zsh-plugins/zsh-completions | |
fi | |
fpath=(~/.zsh-plugins/zsh-completions/src $fpath) | |
source ~/.zsh-plugins/zsh-completions/zsh-completions.plugin.zsh | |
# The following lines were added by compinstall | |
zstyle :compinstall filename '/home/thesetj/.zshrc' | |
autoload -Uz compinit | |
compinit | |
# End of lines added by compinstall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment