2
0
Fork 0

/etc/skel/.bashrc: astra is annoying

main
Ducky 2022-01-25 12:41:15 +00:00
parent 230a86a2d5
commit 88894c8679
1 changed files with 7 additions and 1 deletions

View File

@ -12,7 +12,13 @@ case $- in
esac
# Shell customization
[[ -z $ZIO_SHELL_CARET ]] && ZIO_SHELL_CARET="➜ "
if [[ -z $ZIO_SHELL_CARET ]]; then
if [[ $SUDO_USER == "astra" ]] || [[ $USER == "astra" ]]; then
ZIO_SHELL_CARET="$"
else
ZIO_SHELL_CARET="➜ "
fi
fi
# Bash options
HISTCONTROL=ignoreboth