|
|
|
@ -59,7 +59,6 @@ alias du='du -hs' #noindex
@@ -59,7 +59,6 @@ alias du='du -hs' #noindex
|
|
|
|
|
alias ip='ip -color=auto' #noindex |
|
|
|
|
alias free="free -m" #noindex |
|
|
|
|
alias wget='wget -c -T 5' #noindex |
|
|
|
|
alias grep='grep -E -i --color=auto' #noindex |
|
|
|
|
alias tree="tree -CF" #noindex |
|
|
|
|
alias crontab_i="crontab $CRON" #noindex |
|
|
|
|
alias crontab_e="$EDITOR $CRON" #noindex |
|
|
|
@ -72,6 +71,15 @@ alias watch="watch --color --differences" #noindex
@@ -72,6 +71,15 @@ alias watch="watch --color --differences" #noindex
|
|
|
|
|
alias rg='rg --no-heading --smart-case --color=auto --colors "match:bg:yellow" --colors "match:fg:blue"' #noindex |
|
|
|
|
alias xlock="i3lock -i $SHELLRC/etc/wm/img/locker.png" #noindex |
|
|
|
|
|
|
|
|
|
#- Поиск по файлам |
|
|
|
|
alias grep='grep -E -i --color=auto' #noindex |
|
|
|
|
|
|
|
|
|
#- https://github.com/Genivia/ugrep |
|
|
|
|
alias ug='ugrep --smart-case --config="$SHELLRC/etc/soft/ugrep/config"' #noindex |
|
|
|
|
alias ugp='ug --pretty' #noindex |
|
|
|
|
alias uga='ug --hidden' #noindex |
|
|
|
|
alias ugpa='ug --pretty --hidden' #noindex |
|
|
|
|
|
|
|
|
|
#- Замена стандартных путей для конфигурационных файлов |
|
|
|
|
alias newsboat="newsboat -r" #noindex |
|
|
|
|
alias mpd="mpd $SHELLRC/etc/media/mpd/mpd.conf" #noindex |
|
|
|
@ -185,10 +193,10 @@ printf "$white
@@ -185,10 +193,10 @@ printf "$white
|
|
|
|
|
#- Цветовые коды консоли |
|
|
|
|
colors() { |
|
|
|
|
for i in {0..255} ; do |
|
|
|
|
printf "\x1b[48;5;%sm %3d \e[0m " "$i" "$i" |
|
|
|
|
if (( i == 15 )) || (( i > 15 )) && (( (i-15) % 6 == 0 )); then |
|
|
|
|
printf "\n"; |
|
|
|
|
fi |
|
|
|
|
printf "\x1b[48;5;%sm %3d \e[0m " "$i" "$i" |
|
|
|
|
if (( i == 15 )) || (( i > 15 )) && (( (i-15) % 6 == 0 )); then |
|
|
|
|
printf "\n"; |
|
|
|
|
fi |
|
|
|
|
done |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|