diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 7822dbf0..2a589de4 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -1,7 +1,7 @@ autoload -U colors && colors PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b " -# Load aliases and shortcuts if existent. +# Attempt to load ~/.config/aliases and ~/.config/shortcuts [ -f "$HOME/.config/shortcutrc" ] && source "$HOME/.config/shortcutrc" [ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc" @@ -53,14 +53,6 @@ echo -ne '\e[5 q' # Use beam shape cursor for each new prompt. preexec() { echo -ne '\e[5 q' ;} -ranger() { - if [ -z "$RANGER_LEVEL" ]; then - /usr/bin/ranger "$@" - else - exit - fi -} - alias clear='timeout 6 cbeams -o; clear' # Load zsh-syntax-highlighting; should be last.