Print this page
3395 add /etc/profile.d and /etc/.login.d
*** 31,45 ****
# Enable "gmacs"+"multiline" editor mode if the user did not set an
# input mode yet (for example via ${EDITOR}, ${VISUAL} or any
# "set -o" flag)
if [[ "$(set +o)" != ~(Er)--(gmacs|emacs|vi)( .*|) ]] ; then
set -o gmacs
- # enable multiline input mode
- set -o multiline
- # enable globstar mode (match subdirs with **/)
- set -o globstar
fi
# Set a default prompt (<username>@<hostname>:<path><"($|#) ">) if
# then variable does not exist in the environment.
#
# Algorithm:
--- 31,45 ----
# Enable "gmacs"+"multiline" editor mode if the user did not set an
# input mode yet (for example via ${EDITOR}, ${VISUAL} or any
# "set -o" flag)
if [[ "$(set +o)" != ~(Er)--(gmacs|emacs|vi)( .*|) ]] ; then
set -o gmacs
fi
+ # enable multiline input mode
+ set -o multiline
+ # enable globstar mode (match subdirs with **/)
+ set -o globstar
# Set a default prompt (<username>@<hostname>:<path><"($|#) ">) if
# then variable does not exist in the environment.
#
# Algorithm: