|
@ -24,6 +24,7 @@ bindkey '\e[B' history-beginning-search-forward |
|
|
alias cs='printf "\033c"' |
|
|
alias cs='printf "\033c"' |
|
|
alias hst="history" |
|
|
alias hst="history" |
|
|
alias nf="cs && neofetch | lolcat" |
|
|
alias nf="cs && neofetch | lolcat" |
|
|
|
|
|
# nf |
|
|
alias rur="xrdb ~/.Xresources" |
|
|
alias rur="xrdb ~/.Xresources" |
|
|
# list file sizes in megabytes with depth 1 |
|
|
# list file sizes in megabytes with depth 1 |
|
|
alias dum="sudo du -d 1 -B M" |
|
|
alias dum="sudo du -d 1 -B M" |
|
@ -114,6 +115,7 @@ alias vlh="alsamixer -c 2" |
|
|
# alias aptu="sudo apt upgrade" |
|
|
# alias aptu="sudo apt upgrade" |
|
|
alias pc="sudo pacman -S" |
|
|
alias pc="sudo pacman -S" |
|
|
alias pcr="sudo pacman -Rs" |
|
|
alias pcr="sudo pacman -Rs" |
|
|
|
|
|
alias tri="trizen -S --noconfirm" |
|
|
|
|
|
|
|
|
# }}} system # |
|
|
# }}} system # |
|
|
|
|
|
|
|
@ -136,9 +138,10 @@ function vsnp() { ni ~/.vim/plugged/vim-snippets/UltiSnips/"$1".snippets ; } |
|
|
# applications {{{ # |
|
|
# applications {{{ # |
|
|
silent="> /dev/null 2>&1& " |
|
|
silent="> /dev/null 2>&1& " |
|
|
|
|
|
|
|
|
alias h="htop" |
|
|
|
|
|
|
|
|
alias h="htop -s PERCENT_CPU" |
|
|
alias r="ranger" |
|
|
alias r="ranger" |
|
|
alias mr="man ranger" |
|
|
alias mr="man ranger" |
|
|
|
|
|
alias clc="cloc ." |
|
|
# zathura |
|
|
# zathura |
|
|
function za() { nohup zathura $1 > /dev/null 2>&1& ; } |
|
|
function za() { nohup zathura $1 > /dev/null 2>&1& ; } |
|
|
function chr() { google-chrome $1 ; } |
|
|
function chr() { google-chrome $1 ; } |
|
@ -165,6 +168,8 @@ alias rmsw="rm .sw*" |
|
|
function rs(){ redshift -P -O $(echo "scale=2;$1*1000" | bc) ; } |
|
|
function rs(){ redshift -P -O $(echo "scale=2;$1*1000" | bc) ; } |
|
|
alias rx="redshift -x" |
|
|
alias rx="redshift -x" |
|
|
|
|
|
|
|
|
|
|
|
alias kd="pkill discord" |
|
|
|
|
|
|
|
|
# python related {{{ # |
|
|
# python related {{{ # |
|
|
function grpy() { grep $1 *.py ; } |
|
|
function grpy() { grep $1 *.py ; } |
|
|
alias p3="python3" |
|
|
alias p3="python3" |
|
|