История изменений
Исправление
DeadEye,
(текущая версия)
:
Исходная версия
DeadEye,
:
% cat .config/zsh/user/aliases.zsh ~
###### Aliases ######
# Common commands
alias l="ls -al --color=auto | less"
alias ls="ls -alGFh --color=auto"
alias diff="colordiff"
alias grep="grep --color=auto"
# Networking
alias testnet="ping -c 1 8.8.8.8 && ping -c 1 gentoo.org"
# Gentoo-specific aliases
alias s="eix"
# Power management
alias off="su -c 'systemctl poweroff'"
alias hibern="su -c 'systemctl hibernate'"
alias susp="su -c 'systemctl suspend'"
# Various aliases - can be easily commented out
alias mkpasswd="openssl rand -base64 15"
alias mc="mc -u"
alias rootmode="su -"
alias lunasay="ponysay -f luna -b unicode -c"
alias vimconfig="vim ~/.vimrc"
alias m="ncmpcpp"
alias curtrack="mpc -f '%title% - %artist% - %album% (%date%)' | head -1"
alias setupmons="xrandr --output eDP1 --mode 1600x900 --output HDMI1 --mode 1920x1080 --left-of eDP1"
alias lasterr="journalctl -x -b | tail -250 | less"
alias -s {txt,lua,pas,c,cxx,cpp,h,hpp,html,php,py}="vim"