Make doas
friendly
This commit is contained in:
parent
6804ccae57
commit
9e57d05af8
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user