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

24 lines
562 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"
2018-03-14 13:33:11 +00:00
alias rename="perl-rename"
2018-03-10 04:04:29 +00:00
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
2018-03-23 12:53:39 +00:00
alias minicom="docker run --device=/dev/ttyUSB0 -it registry.massaki.ca/minicom"
2018-03-10 04:04:29 +00:00
# open-sourced build of vs code is named code-oss
alias code="code-oss"