View | Details | Raw Unified | Return to bug 153233
Collapse All | Expand All

(-)share/skel/dot.shrc (-10 / +6 lines)
Lines 14-24 Link Here
14
# umask	022
14
# umask	022
15
15
16
# Enable the builtin emacs(1) command line editor in sh(1),
16
# Enable the builtin emacs(1) command line editor in sh(1),
17
# e.g. C-a -> beginning-of-line.
17
# e.g. C-a -> beginning-of-line. (default for interactive shell)
18
set -o emacs
18
# set -o emacs
19
19
20
# Uncomment this and comment the above to enable the builtin vi(1) command
20
# Enable the builtin vi(1) command line editor in sh(1),
21
# line editor in sh(1), e.g. ESC to go into visual mode.
21
# e.g. ESC to go into visual mode.
22
# set -o vi
22
# set -o vi
23
23
24
24
Lines 36-47 Link Here
36
# alias rm='rm -i'
36
# alias rm='rm -i'
37
37
38
38
39
# # set prompt: ``username@hostname$ '' 
39
# # set prompt: ``[username@hostname directory]$ '' 
40
# PS1="`whoami`@`hostname | sed 's/\..*//'`"
40
# PS1="[$(id -un)@\h \w]\\$ "
41
# case `id -u` in
42
# 	0) PS1="${PS1}# ";;
43
# 	*) PS1="${PS1}$ ";;
44
# esac
45
41
46
# search path for cd(1)
42
# search path for cd(1)
47
# CDPATH=.:$HOME
43
# CDPATH=.:$HOME

Return to bug 153233