Set up .profile for NetBSD
This commit is contained in:
parent
8bf61e5f2f
commit
5c4f1978a7
1 changed files with 5 additions and 1 deletions
|
@ -92,7 +92,7 @@ unset _flatpak_xdg_path
|
||||||
|
|
||||||
# Basic exports.
|
# Basic exports.
|
||||||
export HISTFILE=""
|
export HISTFILE=""
|
||||||
export PS1='\u@\h\$ '
|
export PS1="$(id -un)@$(hostname -s)\$ "
|
||||||
export TIME_STYLE=long-iso # Used by GNU 'ls'.
|
export TIME_STYLE=long-iso # Used by GNU 'ls'.
|
||||||
|
|
||||||
# Bash-specific settings that will not work in other Bourne-compatible shells.
|
# Bash-specific settings that will not work in other Bourne-compatible shells.
|
||||||
|
@ -137,6 +137,7 @@ else
|
||||||
bind "^[[1;5C" em-next-word
|
bind "^[[1;5C" em-next-word
|
||||||
bind "^[[1;5D" ed-prev-word
|
bind "^[[1;5D" ed-prev-word
|
||||||
fi
|
fi
|
||||||
|
( set -o tabcomplete 2>/dev/null ) && set -o tabcomplete
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$(uname -s)" = NetBSD ]
|
if [ "$(uname -s)" = NetBSD ]
|
||||||
|
@ -186,6 +187,9 @@ for dir in "$HOME/.local/bin" \
|
||||||
/opt/local/sbin \
|
/opt/local/sbin \
|
||||||
/var/lib/flatpak/exports/bin \
|
/var/lib/flatpak/exports/bin \
|
||||||
/app/bin \
|
/app/bin \
|
||||||
|
/usr/pkg/bin \
|
||||||
|
/usr/pkg/sbin \
|
||||||
|
/usr/X11R7/bin \
|
||||||
/usr/X11R6/bin \
|
/usr/X11R6/bin \
|
||||||
/usr/sbin \
|
/usr/sbin \
|
||||||
/bin \
|
/bin \
|
||||||
|
|
Loading…
Reference in a new issue