dotfiles/.zshrc

47 lines
1.3 KiB
Bash
Raw Normal View History

2017-09-01 12:43:51 +00:00
source $HOME/.aliases
2017-09-28 10:38:59 +00:00
# Set $PATH
export PATH=$HOME/bin:$PATH
2023-02-04 20:10:40 +00:00
# History
export HISTFILE=$HOME/.zsh_history
export HISTSIZE=15000 # keep 15,000 lines in memory
export SAVEHIST=10000 # but save only 10,000 of them
export HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=true
2017-09-01 12:43:51 +00:00
2023-02-04 20:10:40 +00:00
# Editor
export EDITOR=nvim
export GIT_EDITOR=nvim
2017-09-01 12:43:51 +00:00
2023-02-04 20:10:40 +00:00
# Compinit
autoload -Uz compinit
compinit
2017-09-01 12:43:51 +00:00
2023-02-04 20:10:40 +00:00
# ZSH Plugins
2017-09-01 12:43:51 +00:00
2023-02-04 20:10:40 +00:00
## Oh My Zsh
source ~/.zsh/ohmyzsh/plugins/pip/pip.plugin.zsh
source ~/.zsh/ohmyzsh/plugins/command-not-found/command-not-found.plugin.zsh
source ~/.zsh/ohmyzsh/plugins/docker/_docker
source ~/.zsh/ohmyzsh/plugins/docker-compose/docker-compose.plugin.zsh
source ~/.zsh/ohmyzsh/plugins/git/git.plugin.zsh
source ~/.zsh/ohmyzsh/plugins/golang/golang.plugin.zsh
source ~/.zsh/ohmyzsh/plugins/jsontools/jsontools.plugin.zsh
source ~/.zsh/ohmyzsh/plugins/kubectl/kubectl.plugin.zsh
source ~/.zsh/ohmyzsh/plugins/sudo/sudo.plugin.zsh
2019-02-11 16:43:02 +00:00
2023-02-04 20:10:40 +00:00
### Prompt Theme
source ~/.zsh/ohmyzsh/themes/gentoo.zsh-theme
## zsh-users
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
source ~/.zsh/zsh-completions/zsh-completions.plugin.zsh
source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source ~/.zsh/zsh-history-substring-search/zsh-history-substring-search.zsh
# Set Prompt
setopt promptsubst
# Bindkeys
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down