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

34 lines
840 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"
2018-07-04 12:35:59 +00:00
alias vim="nvim"
2018-04-11 19:52:53 +00:00
alias top="htop"
2018-03-10 04:04:29 +00:00
alias http-server="python -m http.server"
2018-03-14 13:33:11 +00:00
alias rename="perl-rename"
2018-05-16 16:22:26 +00:00
alias userctl="systemctl --user"
2020-09-02 19:58:19 +00:00
alias lock="swaylock"
2018-03-10 04:04:29 +00:00
2019-03-07 23:04:17 +00:00
# ls
2019-09-14 20:55:01 +00:00
alias ls='lsd --group-dirs=first'
2019-04-02 22:21:47 +00:00
alias l='ls -l'
2019-09-14 20:55:01 +00:00
alias la='ls -a'
alias lla='ls -la'
alias lt='ls --tree'
2019-03-07 23:04:17 +00:00
2018-10-18 15:11:55 +00:00
# powershell seems to have trouble with xterm-256color
2018-04-16 20:21:39 +00:00
alias pwsh="TERM=xterm pwsh"
alias powershell="TERM=xterm pwsh"
2018-03-10 04:04:29 +00:00
2018-10-18 15:11:55 +00:00
# remote often does not have the correct terminfo for termite
alias ssh="TERM=xterm-256color ssh"
2018-03-10 04:04:29 +00:00
# network stuff must always be run with sudo anyway
alias wifi-menu="sudo wifi-menu -o"
alias netctl="sudo netctl"
2018-09-11 02:51:42 +00:00
# docker
2018-03-23 12:53:39 +00:00
alias minicom="docker run --device=/dev/ttyUSB0 -it registry.massaki.ca/minicom"
2018-09-11 02:51:42 +00:00
alias browsh="docker run --rm -it browsh/browsh"
2018-03-10 04:04:29 +00:00