made bash -c better (uses bash --norc -c now)

This commit is contained in:
pika 2024-08-20 17:32:36 +02:00
parent d65c839123
commit 9abcca1c32

View file

@ -10,7 +10,7 @@ command_exists() {
}
if command_exists curl; then
alias install_pkg='bash -c "$(curl -sSL https://git.k4li.de/pika/scripts/raw/branch/main/bash/snippets/install_pkg.sh)" -- '
alias install_pkg='bash --norc -c "$(curl -sSL https://git.k4li.de/pika/scripts/raw/branch/main/bash/snippets/install_pkg.sh)" -- '
else
echo_error "curl is not installed, universal install disabled!"
fi
@ -338,8 +338,8 @@ _cli_qol_() {
}
_games() {
alias g2048='bash -c "$(curl -sSL https://git.k4li.de/pika/scripts/raw/branch/main/bash/games/2048.sh)"'
alias gwordle='bash -c "$(curl -sSL https://git.k4li.de/pika/scripts/raw/branch/main/bash/games/wordle.sh)"'
alias g2048='bash --norc -c "$(curl -sSL https://git.k4li.de/pika/scripts/raw/branch/main/bash/games/2048.sh)"'
alias gwordle='bash --norc -c "$(curl -sSL https://git.k4li.de/pika/scripts/raw/branch/main/bash/games/wordle.sh)"'
}
# ─< t stands for trash(-cli) >───────────────────────────────────────────────────────────────