Browse Source

Extend PATH from login(1)/setusercontext(3) instead of overriding.

OK millert@
OPENBSD_6_7
okan 4 years ago
parent
commit
18cbbc86a7
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      src/etc/skel/dot.cshrc
  2. +2
    -2
      src/etc/skel/dot.profile

+ 2
- 2
src/etc/skel/dot.cshrc View File

@ -1,4 +1,4 @@
# $OpenBSD: dot.cshrc,v 1.8 2018/02/02 02:29:54 yasuoka Exp $
# $OpenBSD: dot.cshrc,v 1.9 2020/01/23 20:56:11 okan Exp $
#
# csh initialization
@ -13,7 +13,7 @@ alias ll ls -lsA
alias tset 'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars'
alias z suspend
set path = (~/bin /bin /sbin /usr/{bin,sbin,X11R6/bin,local/bin,local/sbin,games})
set path = (~/bin $path /usr/games)
if ($?prompt) then
# An interactive shell -- set some stuff up


+ 2
- 2
src/etc/skel/dot.profile View File

@ -1,6 +1,6 @@
# $OpenBSD: dot.profile,v 1.5 2018/02/02 02:29:54 yasuoka Exp $
# $OpenBSD: dot.profile,v 1.6 2020/01/23 20:56:11 okan Exp $
#
# sh/ksh initialization
PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games
PATH=$HOME/bin:$PATH:/usr/games
export PATH HOME TERM

Loading…
Cancel
Save