diff options
-rwxr-xr-x | zsh/.zsh/aliases.zsh | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/zsh/.zsh/aliases.zsh b/zsh/.zsh/aliases.zsh index 11327a1..9076b29 100755 --- a/zsh/.zsh/aliases.zsh +++ b/zsh/.zsh/aliases.zsh @@ -15,10 +15,14 @@ # ░░░░░░░░░░ # #█▓▒░ aliases -alias l='ls -F --color=auto --group-directories-first' -alias la='ls -lahF --color=auto --group-directories-first --time-style=+"%d.%m.%Y %H:%M"' -alias ll='ls -lhF --color=auto --group-directories-first --time-style=+"%d.%m.%Y %H:%M"' -alias ls='ls -F --color=auto --group-directories-first' +#alias l='ls -F --color=auto --group-directories-first' +#alias la='ls -lahF --color=auto --group-directories-first --time-style=+"%d.%m.%Y %H:%M"' +#alias ll='ls -lhF --color=auto --group-directories-first --time-style=+"%d.%m.%Y %H:%M"' +#alias ls='ls -F --color=auto --group-directories-first' +alias ls="exa" +alias la="exa -a" +alias ll="exa -l" +alias lg="exa -l --git" alias ".."="cd ../" alias "..."="cd ../.." alias "../.."="cd ../.." @@ -27,6 +31,7 @@ alias psef="ps -ef" alias mkdir="mkdir -p" #alias cp="cp -r" alias cp="rsync -ahvz --progress" +alias cps="sudo rsync -ahvz --progress" alias scp="scp -r" alias xsel="xsel -b" alias fuck='sudo $(fc -ln -1)' @@ -51,10 +56,12 @@ alias gco="git checkout" alias gcs="git commit -S -m" alias gcurl="git config --get remote.origin.url" #alias gpr="hub pull-request" To use with hub command -alias ag="ag --color --color-line-number '0;35' --color-match '46;30' --color-path '4;36'" +#alias ag="ag --color --color-line-number '0;35' --color-match '46;30' --color-path '4;36'" +alias ag="rg" alias tree='tree -CAFa -I "CVS|*.*.package|.svn|.git|.hg|node_modules|bower_components" --dirsfirst' alias mixer="alsamixer" #alias genplaylist="cd ~/music;find . -name '*.mp3' -o -name '*.flac'|sed -e 's%^./%%g' > ~/.mpd/playlists/all.m3u" +alias find="fd" alias matrix="cmatrix -b" alias tempwatch="while :; do sensors; sleep 1 && clear; done;" #alias term="urxvtc -hold -e " #used for run menu @@ -151,6 +158,10 @@ alias tvv="DISPLAY= mpv --quiet -vo tct $@" alias cppbeautifier="clang-format -style=file -i *.{cpp,h}" alias term="urxvt" +alias size="du -h $1 --max-depth=1" +alias sizes="sudo du -h $1 --max-depth=1" +alias http_serv="python2 -m SimpleHTTPServer" + #█▓▒░ dumb tmux trix alias tsad="printf '\033k┐(T_T)┌\033\\'" alias tshrug="printf '\033k┐(\`-\`)┌\033\\'" |