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"
|
2021-12-30 02:11:44 +00:00
|
|
|
alias etckeeper="sudo etckeeper"
|
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-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"
|
2021-01-03 03:01:52 +00:00
|
|
|
|
2022-02-03 23:44:21 +00:00
|
|
|
# kube
|
|
|
|
alias netshoot="kubectl run tmp-shell --rm -i --tty --image nicolaka/netshoot -- /bin/bash"
|
2024-03-27 16:34:56 +00:00
|
|
|
alias kubectl="kubecolor"
|
2024-07-03 15:56:14 +00:00
|
|
|
alias k="kubecolor"
|
|
|
|
alias kctx="kubectl config use-context"
|
|
|
|
alias kns="kubectl config set-context --current --namespace"
|
2024-03-27 16:34:56 +00:00
|
|
|
|
|
|
|
compdef kubecolor=kubectl
|
2022-02-03 23:44:21 +00:00
|
|
|
|
|
|
|
# utils
|
2021-01-03 03:01:52 +00:00
|
|
|
alias convert-doc="libreoffice --headless --invisible --norestore --convert-to "
|