summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/aliases5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/aliases b/.config/aliases
index b52d763..51433a4 100644
--- a/.config/aliases
+++ b/.config/aliases
@@ -18,6 +18,9 @@ alias wl="wc -l"
alias pk="checkupdates"
alias wt="curl wttr.in/$(cat $HOME/.config/forecast/location)"
alias grep="grep --color"
+alias net="nmcli"
+alias vpn="doas wg-quick up adast"
+alias novpn="doas wg-quick down adast"
alias ls='exa'
alias lh="exa -1dI '.|..' .*"
@@ -47,9 +50,11 @@ _completion_loader git
_completion_loader exa
_completion_loader todo.sh
_completion_loader sudo
+_completion_loader nmcli
complete -o bashdefault -o default -o nospace -F __git_wrap__git_main g c
complete -o bashdefault -o default -F _fzf_path_completion e
complete -o bashdefault -o filenames -F _exa ls
complete -F _todo t
+complete -F _nmcli net
complete -F _sudo doas