added lsd aliases

This commit is contained in:
tracer 2020-01-26 15:09:54 +01:00
parent da5855133d
commit e20b24034c
1 changed files with 5 additions and 3 deletions

8
.zshrc
View File

@ -14,9 +14,11 @@ export EDITOR='vim'
bindkey "^[^[[D" backward-word bindkey "^[^[[D" backward-word
bindkey "^[^[[C" forward-word bindkey "^[^[[C" forward-word
setopt auto_cd setopt auto_cd
alias l="ls" alias ls="lsd"
alias lr="ls -ltr" alias l="lsd"
alias ll="ls -las" alias lr="lsd -ltr"
alias ll="lsd -la"
alias lt="lsd --tree"
setopt PROMPT_SUBST setopt PROMPT_SUBST
export PROMPT='$(cdbm -add)'$PROMPT export PROMPT='$(cdbm -add)'$PROMPT
function c() { dir=$(cdbm 3>&1 1>&2 2>&3); cd $dir; } function c() { dir=$(cdbm 3>&1 1>&2 2>&3); cd $dir; }