Mailinglist Archive: opensuse-bugs (4661 mails)

< Previous Next >
[Bug 1045889] csh.cshrc: cwdcmd alias should not be set when $HOME/.csh.expert is readable
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 27 Jun 2017 07:08:04 +0000
  • Message-id: <bug-1045889-21960-HOrK2y08tj@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=1045889
http://bugzilla.suse.com/show_bug.cgi?id=1045889#c1

Dr. Werner Fink <werner@xxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |Stromeko@xxxxxxxx
Flags| |needinfo?(Stromeko@xxxxxxxx
| |)

--- Comment #1 from Dr. Werner Fink <werner@xxxxxxxx> ---
(In reply to Achim Gratz from comment #0)
As the subject says, the alias should be conditioned on the readability of
$HOME/.csh.expert:

if ( ! -r $HOME/.csh.expert ) alias cwdcmd '(echo "Directory: $cwd" >
/dev/$tty)'

What is wrong with overwriting the cwdcmd alias with your own alias in your
personal $HOME/.csh.expert ... AFICS and AFAICR the $HOME/.csh.expert will be
read *after* cwdcmd has been set in /etc/csh.cshrc ...

This what I do if I'd like to overwrite.

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >