1
0
Fork 0
dotfiles/files/.config/zsh/custom/100-alias.zsh

25 lines
579 B
Bash
Raw Normal View History

2018-03-10 04:04:29 +00:00
alias svim="sudo -e"
alias vissh="$EDITOR ~/.ssh/config"
alias vihosts="sudo -e /etc/hosts"
if type htop >/dev/null; then
alias top="htop"
fi
alias http-server="python -m http.server"
alias nmap-libvirt="nmap 192.168.122.0/24"
alias xsel="xsel -b"
alias drun-it="docker run -it"
alias dexec-it="docker exec -it"
# network stuff must always be run with sudo anyway
alias wifi-menu="sudo wifi-menu -o"
alias netctl="sudo netctl"
# serial
alias minicom="docker run --device=/dev/ttyUSB0 -it minicom"
# open-sourced build of vs code is named code-oss
alias code="code-oss"