Browse Source

Kill tset alias and just use expanded form in dot.login.

Fixes the problem where if you hit ^C at the root termtype
prompt noglob never gets unset.
OPENBSD_2_4
millert 27 years ago
parent
commit
edeeb67bd5
2 changed files with 3 additions and 2 deletions
  1. +0
    -1
      src/etc/root/dot.cshrc
  2. +3
    -1
      src/etc/root/dot.login

+ 0
- 1
src/etc/root/dot.cshrc View File

@ -21,7 +21,6 @@ alias pd pushd
alias pd2 pushd +2
alias pd3 pushd +3
alias pd4 pushd +4
alias tset 'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars'
if ($?prompt) then
set prompt="`hostname -s`# "


+ 3
- 1
src/etc/root/dot.login View File

@ -1,4 +1,6 @@
tset -Q \?$TERM
set noglob
eval `tset -s -Q ?$TERM`
unset noglob
if ( `logname` == `whoami` ) then
echo "Don't login as root, use su"


Loading…
Cancel
Save