34 lines
840 B
Bash
34 lines
840 B
Bash
alias svim="sudo -e"
|
|
alias vissh="$EDITOR ~/.ssh/config"
|
|
alias vihosts="sudo -e /etc/hosts"
|
|
|
|
alias vim="nvim"
|
|
alias top="htop"
|
|
alias http-server="python -m http.server"
|
|
alias rename="perl-rename"
|
|
alias userctl="systemctl --user"
|
|
alias lock="swaylock"
|
|
|
|
# ls
|
|
alias ls='lsd --group-dirs=first'
|
|
alias l='ls -l'
|
|
alias la='ls -a'
|
|
alias lla='ls -la'
|
|
alias lt='ls --tree'
|
|
|
|
# powershell seems to have trouble with xterm-256color
|
|
alias pwsh="TERM=xterm pwsh"
|
|
alias powershell="TERM=xterm pwsh"
|
|
|
|
# remote often does not have the correct terminfo for termite
|
|
alias ssh="TERM=xterm-256color ssh"
|
|
|
|
# network stuff must always be run with sudo anyway
|
|
alias wifi-menu="sudo wifi-menu -o"
|
|
alias netctl="sudo netctl"
|
|
|
|
# docker
|
|
alias minicom="docker run --device=/dev/ttyUSB0 -it registry.massaki.ca/minicom"
|
|
alias browsh="docker run --rm -it browsh/browsh"
|
|
|