diff options
Diffstat (limited to 'external/zsh/aliases/system.zsh')
| -rw-r--r-- | external/zsh/aliases/system.zsh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/external/zsh/aliases/system.zsh b/external/zsh/aliases/system.zsh new file mode 100644 index 0000000..48951a9 --- /dev/null +++ b/external/zsh/aliases/system.zsh @@ -0,0 +1,13 @@ + +# Pacman aliases +alias auto-remove="yay -Rcs \$(yay -Qdtq)"; +alias update="yay -Syu"; +alias mirrorlist-refresh="sudo reflector --latest 200 --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist-arch" + +# Sandbox +alias sandbox="sudo ~/scripts/host-file-elb-update.sh"; + +# Runit helpers +sv_enable() { [[ -f "/etc/runit/sv/$1" ]] && sudo ln -s /etc/runit/sv/$1 /run/runit/service; } +sv_disable() { sudo unlink /run/runit/service/$1; } + |
