diff --git a/zsh/.zshrc b/zsh/.zshrc index ef8197b..bac0fe2 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -20,7 +20,7 @@ zstyle ':completion:*' cache-path ~/.zsh/cache HISTFILE=~/.zhistory HISTSIZE=1000 SAVEHIST=500 -export EDITOR=/usr/bin/vim +#export EDITOR=/usr/bin/vim #export VISUAL=/usr/bin/gvim WORDCHARS=${WORDCHARS//\/[&.;]} # Don't consider certain characters part of the word @@ -73,6 +73,7 @@ alias sxiv=nsxiv alias :q=exit alias vim=nvim alias radio="mpv https://radio.freenode.net/radio.ogg --volume=30" +alias calc="calcurse-caldav && calcurse && calcurse-caldav" # Theming section autoload -U compinit colors zcalc @@ -218,4 +219,8 @@ case $(basename "$(cat "/proc/$PPID/comm")") in ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=8' ;; esac -# PROG=tea _CLI_ZSH_AUTOCOMPLETE_HACK=1 source "/home/tonitch/.config/tea/autocomplete.zsh" + +# Add level of ranger nesting if in ranger +if [ -n "$RANGER_LEVEL" ]; then + export RPROMPT="[r$RANGER_LEVEL]$RPROMPT"; +fi