From 806b44c192481cf77b1a20bda37bd3390e5d225f Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Wed, 27 Dec 2023 16:25:08 -0500 Subject: [PATCH] Pikaur > yay. Try tmux attach first --- fake_home/.shell_aliases | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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"