|
|
@ -1,5 +1,6 @@
|
|
|
|
export EXA_COLORS="uu=38;5;249:un=38;5;241:gu=38;5;245:gn=38;5;241:da=38;5;23:sn=38;5;7:sb=38;5;7:ur=38;5;3;1:uw=38;5;5;1:ux=38;5;1;1:ue=38;5;1;1:gr=38;5;249:gw=38;5;249:gx=38;5;249:tr=38;5;249:tw=38;5;249:tx=38;5;245:fi=38;5;6;1:di=38;5;6:ex=38;5;1:xa=38;5;12:*.png=38;5;4:*.jpg=38;5;4:*.gif=38;5;4"
|
|
|
|
export EXA_COLORS="uu=38;5;249:un=38;5;241:gu=38;5;245:gn=38;5;241:da=38;5;23:sn=38;5;7:sb=38;5;7:ur=38;5;3;1:uw=38;5;5;1:ux=38;5;1;1:ue=38;5;1;1:gr=38;5;249:gw=38;5;249:gx=38;5;249:tr=38;5;249:tw=38;5;249:tx=38;5;245:fi=38;5;6;1:di=38;5;6:ex=38;5;1:xa=38;5;12:*.png=38;5;4:*.jpg=38;5;4:*.gif=38;5;4"
|
|
|
|
export SCREENRC=$HOME/.config/screen/screenrc
|
|
|
|
export SCREENRC=$HOME/.config/screen/screenrc
|
|
|
|
|
|
|
|
export BORG_PROGRESS="--stats --progress -v"
|
|
|
|
|
|
|
|
|
|
|
|
alias ..='cd ..'
|
|
|
|
alias ..='cd ..'
|
|
|
|
alias ...='cd ../..'
|
|
|
|
alias ...='cd ../..'
|
|
|
@ -22,8 +23,10 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
function cheat { curl cheat.sh/$1 }
|
|
|
|
function cheat { curl cheat.sh/$1 }
|
|
|
|
function rrmdir { find ${1:-.} -depth -type d -exec rmdir '{}' + }
|
|
|
|
function rrmdir { find ${1:-.} -depth -type d -exec rmdir '{}' + }
|
|
|
|
function mcd { mkdir -p $1 && cd $1 }
|
|
|
|
function mkcd { mkdir -p $1 && cd $1 }
|
|
|
|
function pw { LC_ALL=C < /dev/urandom tr -dc A-Za-z0-9 | head -c${1:-64} }
|
|
|
|
function pw1 { LC_ALL=C < /dev/urandom tr -dc A-Za-z0-9 | head -c${1:-64} }
|
|
|
|
|
|
|
|
function pw2 { LC_ALL=C < /dev/urandom tr -dc bcdfghjkmpqrtvwxyzCDFGHJKMPQRTVWXYZ234679 | head -c${1:-64} }
|
|
|
|
|
|
|
|
function pw3 { LC_ALL=C < /dev/urandom tr -dc CDFGHJKMPQRTVWXYZ234679 | head -c${1:-64} }
|
|
|
|
function precmd { print -Pn '\e]2;%m (%~)\a\e]1;%m\a'; }
|
|
|
|
function precmd { print -Pn '\e]2;%m (%~)\a\e]1;%m\a'; }
|
|
|
|
|
|
|
|
|
|
|
|
HISTORY_IGNORE='(..|...|/*|./*|[ *|[[ *|7z *|\\\\*|ack *|attr *|bell|bg|borg *|cat *|cd|cd *|chmod *|chown *|cp *|curl *|dialog *|dig *|du|du *|echo *|export *|fg|find *|for |git commit *|*grep *|hexdump *|hg *|kill *|l|l *|la|la *|ln *|ls *|man *|mcd *|md5 *|md5sum *|mkdir *|mount *|mv *|nano *|nolog|nslookup *|openssl *|pidof *|ping *|ping6 *|popd *|pushd *|rip *|rm *|rmdir *|rmdir *|rsync *|scp *|screen *|sleep *|sysbench *|tail *|tar *|time *|timeout *|touch *|traceroute *|truncate *|umount *|unp *|watch *|wget *|which *|while *|whois *|zcat *)'
|
|
|
|
HISTORY_IGNORE='(..|...|/*|./*|[ *|[[ *|7z *|\\\\*|ack *|attr *|bell|bg|borg *|cat *|cd|cd *|chmod *|chown *|cp *|curl *|dialog *|dig *|du|du *|echo *|export *|fg|find *|for |git commit *|*grep *|hexdump *|hg *|kill *|l|l *|la|la *|ln *|ls *|man *|mcd *|md5 *|md5sum *|mkdir *|mount *|mv *|nano *|nolog|nslookup *|openssl *|pidof *|ping *|ping6 *|popd *|pushd *|rip *|rm *|rmdir *|rmdir *|rsync *|scp *|screen *|sleep *|sysbench *|tail *|tar *|time *|timeout *|touch *|traceroute *|truncate *|umount *|unp *|watch *|wget *|which *|while *|whois *|zcat *)'
|
|
|
@ -57,7 +60,7 @@ zstyle ':completion:*:warnings' format '%F{cyan}- no matches found -%f'
|
|
|
|
zstyle ':prompt:pure:prompt:success' color cyan
|
|
|
|
zstyle ':prompt:pure:prompt:success' color cyan
|
|
|
|
|
|
|
|
|
|
|
|
# order and grouping
|
|
|
|
# order and grouping
|
|
|
|
zstyle ':completion:*' file all
|
|
|
|
zstyle ':completion:*' file-list all
|
|
|
|
zstyle ':completion:*' group-name ''
|
|
|
|
zstyle ':completion:*' group-name ''
|
|
|
|
zstyle ':completion:*' list-dirs-first true
|
|
|
|
zstyle ':completion:*' list-dirs-first true
|
|
|
|
zstyle ':completion:*:*:-subscript-:*' tag-order indexes parameters
|
|
|
|
zstyle ':completion:*:*:-subscript-:*' tag-order indexes parameters
|
|
|
|