Make doas friendly

This commit is contained in:
swagg boi 2025-03-23 17:06:23 -04:00
parent 6804ccae57
commit 9e57d05af8

View File

@ -20,10 +20,15 @@ alias p='cat'
alias n='cat -n' alias n='cat -n'
# exports # exports
export PS1='$USER:/${PWD#/}:!$ '
export HISTFILE="$HOME/.sh_history" export HISTFILE="$HOME/.sh_history"
export PKG_PATH="http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/10.1/All/" export PKG_PATH="http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/10.1/All/"
if [ $USER = 'root' ]; then
export PS1='$USER:/${PWD#/}:!# '
else
export PS1='$USER:/${PWD#/}:!$ '
fi
if command -v emacs > /dev/null 2>&1; then if command -v emacs > /dev/null 2>&1; then
export EDITOR='emacs -nw' export EDITOR='emacs -nw'
elif command -v mg > /dev/null 2>&1; then elif command -v mg > /dev/null 2>&1; then