Merge branch 'master' of git.24unix.net:tracer/Settings

added neofetch
This commit is contained in:
tracer 2020-05-22 11:41:11 +02:00
commit eecddb7c3f
1 changed files with 9 additions and 5 deletions

14
.zshrc
View File

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