summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2021-12-08 11:49:41 +0100
committerSanto Cariotti <santo@dcariotti.me>2021-12-08 11:49:41 +0100
commit1eca5dc0fe3648341e1707efc811162fc5056888 (patch)
treeafab608ccb5ee58fd98b1f05bc41a04e652b6d5b
parentbddcb2bf7f1563edefb6f87894becd784851cba9 (diff)
zsh: add plugins
-rw-r--r--zsh/.zshrc26
1 files changed, 11 insertions, 15 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 9eaf1bb..472b254 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -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"