mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
remove ranger function and clean up comments
This commit is contained in:
parent
5479405d00
commit
6b6ddde341
@ -1,7 +1,7 @@
|
|||||||
autoload -U colors && colors
|
autoload -U colors && colors
|
||||||
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b "
|
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/shortcutrc" ] && source "$HOME/.config/shortcutrc"
|
||||||
[ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc"
|
[ -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.
|
# Use beam shape cursor for each new prompt.
|
||||||
preexec() { echo -ne '\e[5 q' ;}
|
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'
|
alias clear='timeout 6 cbeams -o; clear'
|
||||||
|
|
||||||
# Load zsh-syntax-highlighting; should be last.
|
# Load zsh-syntax-highlighting; should be last.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user