switch to nearly

This commit is contained in:
Rudra Saraswat 2023-01-26 12:35:10 +05:30
parent 5af01fbf28
commit 6b5f7f987a
7 changed files with 17 additions and 35 deletions

View file

@ -1,10 +1,10 @@
#!/usr/bin/env bash
[[ -z "$SUDO_USER" ]] || {
[[ "$SUDO_USER" == root ]] || { SUDO_USER= sudo -u "$SUDO_USER" "$0" "$@"; exit $?; }
}
BLEND_COMMAND="sudo pacman $@" blend enter arch
ret=$?
echo
echo -e '\033[01m\033[36m>> i: \033[0m\033[01mapps installed this way will need to be exported manually using `blend export [pkg]`,\033[0m'
echo -e '\033[01m\033[36m>> i: \033[0m\033[01mor you can run them by opening the Arch terminal (or running `blend enter -cn arch`)\033[0m'
exit $ret
exit $ret