diff --git a/fake_home/.shell_aliases b/fake_home/.shell_aliases index b5132ae..1614e66 100755 --- a/fake_home/.shell_aliases +++ b/fake_home/.shell_aliases @@ -1,9 +1,9 @@ #!/bin/bash -if command -v yay &> /dev/null; then - alias pacman="yay" -elif command -v pikaur &> /dev/null; then +if command -v pikaur &> /dev/null; then alias pacman="sudo pikaur" +elif command -v yay &> /dev/null; then + alias pacman="yay" else alias pacman="sudo pacman" fi @@ -32,6 +32,8 @@ function hearch { alias hsearch='hearch' +alias tmux="tmux attach || tmux" + alias caddyfile="sudo vim /etc/caddy/Caddyfile" alias cf="sudo vim /etc/caddy/Caddyfile"