diff options
author | eug-vs <eug-vs@keemail.me> | 2021-03-27 00:10:58 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-03-27 00:10:58 +0300 |
commit | 9619e81aaf1d7c86364c3f5834131eddd2ef55b9 (patch) | |
tree | 3b5dead815bb62f013be5724ba484a1258866ac7 /.zshrc | |
parent | 74a3c609569843cfe1cb8c8f58c2f34bebb3129b (diff) | |
download | dotfiles-9619e81aaf1d7c86364c3f5834131eddd2ef55b9.tar.gz |
feat(zsh): remove bloated Oh-my-zshrounded-blur
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 28 |
1 files changed, 23 insertions, 5 deletions
@@ -1,19 +1,37 @@ -export ZSH="$HOME/.oh-my-zsh" -export EDITOR=nvim +autoload -U colors && colors +PS1="%B%{$fg[white]%}[%{$fg[cyan]%}%n%{$fg[white]%}@%{$fg[green]%}%M %{$fg[yellow]%}%~%{$fg[white]%}]%{$reset_color%}$%b " +bindkey -e + +# History in cache directory: +HISTSIZE=10000 +SAVEHIST=10000 +HISTFILE=~/.cache/zsh/history -ZSH_THEME="ys" +# Completion +autoload -U compinit +zstyle ':completion:*' menu select +zmodload zsh/complist +compinit +_comp_options+=(globdots) -plugins=(git) -source $ZSH/oh-my-zsh.sh +# Edit line in vim with ctrl-e: +autoload edit-command-line; zle -N edit-command-line +bindkey '^e' edit-command-line +# Aliases alias vi=nvim alias vim=nvim alias mux=tmuxinator alias config='git --git-dir=$HOME/.dotfiles.git --work-tree=$HOME' +# Env +export EDITOR=nvim export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion export PATH=$PATH:~/.local/bin + +# Syntax highlighting, must be last +source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh |