Browse Source

revert previous; guenther noted that the csh(1) part belongs in dot.login

because each invocation will grow the path, but that exposed an interaction
with loginShell:true in our dot.Xdefaults...
OPENBSD_6_7
okan 4 years ago
parent
commit
41b9a3d17d
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.9 2020/01/23 20:56:11 okan Exp $
# $OpenBSD: dot.cshrc,v 1.10 2020/01/24 02:09:51 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 $path /usr/games)
set path = (~/bin /bin /sbin /usr/{bin,sbin,X11R6/bin,local/bin,local/sbin,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.6 2020/01/23 20:56:11 okan Exp $
# $OpenBSD: dot.profile,v 1.7 2020/01/24 02:09:51 okan Exp $
#
# sh/ksh initialization
PATH=$HOME/bin:$PATH:/usr/games
PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games
export PATH HOME TERM

Loading…
Cancel
Save