Sync behaviour of sh and ksh dotfiles for new users with those of root.
Addresses PR 32215 by Wouter Schoot
This commit is contained in:
parent
0b5587a884
commit
3a3624455e
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: mi,v 1.174 2006/08/13 09:03:22 plunky Exp $
|
||||
# $NetBSD: mi,v 1.175 2006/08/31 22:49:55 hubertf Exp $
|
||||
#
|
||||
# Note: end-user configuration files that are moved to another location
|
||||
# should not be marked "obsolete"; they should just be removed from
|
||||
|
@ -268,6 +268,7 @@
|
|||
./etc/skel/.login etc-sys-etc
|
||||
./etc/skel/.logout etc-sys-etc
|
||||
./etc/skel/.profile etc-sys-etc
|
||||
./etc/skel/.shrc etc-sys-etc
|
||||
./etc/skeykeys etc-sys-etc
|
||||
./etc/spamd.conf etc-obsolete obsolete
|
||||
./etc/spwd.db etc-sys-etc
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: dot.profile,v 1.3 2003/04/24 01:02:26 perry Exp $
|
||||
# $NetBSD: dot.profile,v 1.4 2006/08/31 22:49:55 hubertf Exp $
|
||||
#
|
||||
# This is the default .profile file.
|
||||
# Users are expected to edit it to meet their own needs.
|
||||
|
@ -13,9 +13,8 @@ PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/pkg/bin
|
|||
PATH=${PATH}:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin
|
||||
export PATH
|
||||
|
||||
EDITOR=vi
|
||||
export EDITOR
|
||||
EXINIT='set autoindent'
|
||||
export EXINIT
|
||||
PAGER=more
|
||||
export PAGER
|
||||
export EDITOR=vi
|
||||
export EXINIT='set autoindent'
|
||||
export PAGER=more
|
||||
|
||||
export ENV=$HOME/.shrc
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
# $NetBSD: dot.shrc,v 1.1 2006/08/31 22:49:55 hubertf Exp $
|
||||
|
||||
ll(){ ls -l ${1+"$@"}; }
|
||||
|
||||
case "$-" in *i*)
|
||||
PS1="${HOST%%.*}$PS1"
|
||||
set -o emacs
|
||||
;;
|
||||
esac
|
Loading…
Reference in New Issue