diff options
author | NeodarZ <neodarz@neodarz.net> | 2018-03-20 00:04:36 +0100 |
---|---|---|
committer | NeodarZ <neodarz@neodarz.net> | 2018-03-20 00:04:36 +0100 |
commit | 90936f7e0987849d3df87e432e1cbdf6b9588650 (patch) | |
tree | 3733f576622595ede75de55de570e5c8a1cde19f /zsh | |
parent | ea09916cda589ad935e8eed51e247eda20b13abf (diff) | |
download | dotfiles_ascii-90936f7e0987849d3df87e432e1cbdf6b9588650.tar.xz dotfiles_ascii-90936f7e0987849d3df87e432e1cbdf6b9588650.zip |
Add somme cool alias
Diffstat (limited to 'zsh')
-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\\'" |