Pikaur > yay. Try tmux attach first
This commit is contained in:
parent
e69c38cf07
commit
806b44c192
|
@ -1,9 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if command -v yay &> /dev/null; then
|
if command -v pikaur &> /dev/null; then
|
||||||
alias pacman="yay"
|
|
||||||
elif command -v pikaur &> /dev/null; then
|
|
||||||
alias pacman="sudo pikaur"
|
alias pacman="sudo pikaur"
|
||||||
|
elif command -v yay &> /dev/null; then
|
||||||
|
alias pacman="yay"
|
||||||
else
|
else
|
||||||
alias pacman="sudo pacman"
|
alias pacman="sudo pacman"
|
||||||
fi
|
fi
|
||||||
|
@ -32,6 +32,8 @@ function hearch {
|
||||||
|
|
||||||
alias hsearch='hearch'
|
alias hsearch='hearch'
|
||||||
|
|
||||||
|
alias tmux="tmux attach || tmux"
|
||||||
|
|
||||||
alias caddyfile="sudo vim /etc/caddy/Caddyfile"
|
alias caddyfile="sudo vim /etc/caddy/Caddyfile"
|
||||||
alias cf="sudo vim /etc/caddy/Caddyfile"
|
alias cf="sudo vim /etc/caddy/Caddyfile"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue