2021-04-29 07:24:02 +00:00
|
|
|
alias s systemctl $*
|
|
|
|
|
|
|
|
alias nmcli nmcli -p -c auto $*
|
|
|
|
|
|
|
|
alias chgrp chgrp --preserve-root $*
|
|
|
|
alias chmod chmod --preserve-root $*
|
|
|
|
alias chown chown --preserve-root $*
|
|
|
|
|
|
|
|
alias df df -H $*
|
|
|
|
alias du du -ch $*
|
|
|
|
|
|
|
|
alias grep grep --color=auto $*
|
2023-02-15 10:13:28 +00:00
|
|
|
alias lsl exa -halg@ --group-directories-first --git $*
|
2021-04-29 07:24:02 +00:00
|
|
|
alias lns ln -si $*
|
|
|
|
alias mkdir mkdir -p $*
|
|
|
|
|
|
|
|
alias rm rm -I $*
|
|
|
|
alias rmd rm --preserve-root -Ir $*
|
|
|
|
alias rmdf rm --preserve-root -Irf $*
|
|
|
|
alias rmf rm --preserve-root -If $*
|
|
|
|
|
|
|
|
alias cdebug cmake -DCMAKE_BUILD_TYPE=Debug $*
|
|
|
|
alias crelease cmake -DCMAKE_BUILD_TYPE=Release $*
|
|
|
|
alias g++ g++ -Wall -std=c++17 $*
|
|
|
|
alias gcc gcc -Wall -std=c11 $*
|
|
|
|
alias clang++ clang++ -Wall -std=c++17 $*
|
|
|
|
alias clang clang -Wall -std=c11 $*
|
|
|
|
|
|
|
|
alias dcd docker-compose down
|
|
|
|
alias dcu docker-compose up
|
|
|
|
alias dcud docker-compose up -d
|
|
|
|
alias dcp docker-compose pull
|
|
|
|
|
|
|
|
alias flac youtube-dl -x --audio-format flac --audio-quality 0 $*
|
|
|
|
alias mp3 youtube-dl -x --audio-format flac --audio-quality 0 $*
|
|
|
|
alias wget wget -c $*
|
|
|
|
alias rsync rsync -ruvtEhl --progress $*
|
|
|
|
|
|
|
|
alias remove sudo pacman -Rsc $*
|
|
|
|
|
|
|
|
alias gpumeminfo grep -i --color memory /var/log/Xorg.0.log
|
|
|
|
alias diskspace sudo df -h | grep -E "sd|lv|Size" | sort
|
|
|
|
alias meminfo free -m -l -t
|
|
|
|
alias cpuinfo lscpu
|
|
|
|
alias pscpu ps auxf | sort -nr -k 3
|
|
|
|
alias pscpu10 ps auxf | sort -nr -k 3 | head -10
|
|
|
|
alias psmem ps auxf | sort -nr -k 4
|
|
|
|
alias psmem10 ps auxf | sort -nr -k 4 | head -10
|
|
|
|
|
|
|
|
alias q exit
|
|
|
|
alias exti exit
|
|
|
|
alias exi exit
|
|
|
|
alias clean clear
|
|
|
|
|
2023-04-12 12:00:49 +00:00
|
|
|
alias less view-file $1
|
|
|
|
alias bat view-file $1
|