Compare commits

..

No commits in common. "e36b04aaa71cef0469f9920c76b8e3c9e0836652" and "4e928c2306992fa71be80917ff87e81f49c7ca0d" have entirely different histories.

2 changed files with 6 additions and 10 deletions

View File

@ -75,12 +75,11 @@ xbanish
)
install() {
local package="$1"
if pacman -Qi "$package" &> /dev/null; then
echo "$package is already installed"
if pacman -Qi "$1" &> /dev/null; then
echo "$1 is already installed"
else
echo "Installing " "$package"
sudo pacman -S --noconfirm --needed "$package"
echo "Installing " "$1"
sudo pacman -S --noconfirm --needed "$1"
fi
}
@ -180,15 +179,13 @@ setup_docker() {
}
announce() {
local message="$1"
echo " "
echo "[dots] $message"
echo "[dots] $1"
echo " "
}
confirm() {
local question="$1"
read -r -p "[dots] $question? [y/N]" -n 1
read -r -p "[dots] $1? [y/N]" -n 1
case "$REPLY" in y|Y ) "$2";; * ) echo "Skipping"; esac
}

View File

@ -1 +0,0 @@
set -g status-style bg=default