new lsd aliases

This commit is contained in:
tracer 2020-07-27 23:59:14 +02:00
parent 30d63ab0c9
commit 26b34a2b17
2 changed files with 2 additions and 9 deletions

3
.vimrc
View File

@ -27,6 +27,3 @@ set number
set ignorecase set ignorecase
set laststatus=2 set laststatus=2
autocmd VimLeave * :!open -a iTerm

8
.zshrc
View File

@ -14,15 +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 lr="lsd -ltr"
alias lr="ls -ltr" alias ll="lsd -la"
alias ll="ls -las"
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; }
function pb() { echo "$1" | nc pastebin.24unix.net 9999 } function pb() { echo "$1" | nc pastebin.24unix.net 9999 }
function sudo() {
$@
}
neofetch neofetch