diff options
author | Santo Cariotti <santo@dcariotti.me> | 2021-12-08 11:49:41 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2021-12-08 11:49:41 +0100 |
commit | 1eca5dc0fe3648341e1707efc811162fc5056888 (patch) | |
tree | afab608ccb5ee58fd98b1f05bc41a04e652b6d5b /zsh | |
parent | bddcb2bf7f1563edefb6f87894becd784851cba9 (diff) |
zsh: add plugins
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zshrc | 26 |
1 files changed, 11 insertions, 15 deletions
@@ -1,10 +1,15 @@ # now use Starship instead of oh-my-zsh theme export ZSH="/home/dcariotti/.oh-my-zsh" -plugins=(git) +#ZSH_THEME="essembeh" +ZSH_THEME="lukerandall" +plugins=( + git + zsh-autosuggestions + zsh-syntax-highlighting +) source $ZSH/oh-my-zsh.sh -[[ $TERM != "screen" ]] && exec tmux eval "$(starship init zsh)" export NVM_DIR="$HOME/.nvm" @@ -25,16 +30,7 @@ export PATH="$HOME/.gem/ruby/2.7.0/bin:$PATH" alias mutt=neomutt export TERM=xterm-256color -rga() { - RG_PREFIX="rg --files-with-matches" - local file - - file="$( - FZF_DEFAULT_COMMAND="$RG_PREFIX '$*'" \ - fzf --sort --preview="[[ ! -z {} ]] && rg --pretty --context 5 {q}" \ - --phony -q "$*" \ - --bind "change:reload:$RG_PREFIX {q}" \ - --preview-window="70%:wrap" - )" && - xdg-open "$file" -} +fpath+=${ZDOTDIR:-~}/.zsh_functions + +# Generated for envman. Do not edit. +[ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh" |