From 6b6ddde3415bcdd2716bb576ec2097272090e04d Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Fri, 27 Mar 2020 10:35:49 -0500 Subject: [PATCH] remove ranger function and clean up comments --- .config/zsh/.zshrc | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) 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.