ranger nesting in zsh
This commit is contained in:
		| @ -20,7 +20,7 @@ zstyle ':completion:*' cache-path ~/.zsh/cache | |||||||
| HISTFILE=~/.zhistory | HISTFILE=~/.zhistory | ||||||
| HISTSIZE=1000 | HISTSIZE=1000 | ||||||
| SAVEHIST=500 | SAVEHIST=500 | ||||||
| export EDITOR=/usr/bin/vim | #export EDITOR=/usr/bin/vim | ||||||
| #export VISUAL=/usr/bin/gvim | #export VISUAL=/usr/bin/gvim | ||||||
| WORDCHARS=${WORDCHARS//\/[&.;]}                                 # Don't consider certain characters part of the word | WORDCHARS=${WORDCHARS//\/[&.;]}                                 # Don't consider certain characters part of the word | ||||||
|  |  | ||||||
| @ -73,6 +73,7 @@ alias sxiv=nsxiv | |||||||
| alias :q=exit | alias :q=exit | ||||||
| alias vim=nvim | alias vim=nvim | ||||||
| alias radio="mpv https://radio.freenode.net/radio.ogg --volume=30"  | alias radio="mpv https://radio.freenode.net/radio.ogg --volume=30"  | ||||||
|  | alias calc="calcurse-caldav && calcurse && calcurse-caldav" | ||||||
|  |  | ||||||
| # Theming section   | # Theming section   | ||||||
| autoload -U compinit colors zcalc | autoload -U compinit colors zcalc | ||||||
| @ -218,4 +219,8 @@ case $(basename "$(cat "/proc/$PPID/comm")") in | |||||||
|   		ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=8' |   		ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=8' | ||||||
|     ;; |     ;; | ||||||
| esac | 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 | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user