Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: can't write zsh_history



William Scott <wgscott@xxxxxxxxxxxxxxxxxx> writes:

>> if (( ! EUID )); then
>>  HISTFILE=~/.history_root
>> else
>>  HISTFILE=~/.history
>> fi
>
> You got my hopes up with this, but unfortunately I can't get this
> to work, using my favorite security hole:

Where'd you put it?  Without 'su -' or 'zsh -l' or whatever, it's not a
login shell, so dot-files are read appropriately.  Did you try zshrc?

-- 
Jeremy Hankins <nowan@xxxxxxxxx>
PGP fingerprint: 748F 4D16 538E 75D6 8333  9E10 D212 B5ED 37D0 0A03



Messages sorted by: Reverse Date, Date, Thread, Author