Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: can't write zsh_history
- X-seq: zsh-users 10866
- From: Jeremy Hankins <nowan@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: can't write zsh_history
- Date: Fri, 13 Oct 2006 12:58:42 -0400
- Cancel-lock: sha1:SSpuDyHEO8lnNrMIz7agp5PrGcA=
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEULMAUzSyRZaUF5hl2S mHCysorm2a/HwZqMSkpRAAAACXBIWXMAAABkAAAAZAAPlsXdAAAARnRFWHRSYXcgcHJvZmlsZSB0 eXBlIGFwcDEyAAphcHAxMgogICAgICAxNQo0NDc1NjM2Yjc5MDAwMTAwMDQwMDAwMDAzNjAwMDAK kIvs3wAAAXpJREFUOMu9lLFOAkEQhr89TyvBPUAKG1AJLSYYW0RN7NQYH8HoC+hj6Atg4gsYjY2N iZJYYmONnhhbw61EK/DWYiGBPa7UrSb3ZWb+f2Zy7gHjn8tfAJF488YB0Wi/HasxYNpX4s6bj4Dw BEQ6F8mYPgUKOamGgdDwCiAY7ZF4KOEBTsWS67+U8IHZiI82ug6iYoNMRTYAZCQjXwuACZCWQScA SBE+WT4cTKeEb4EQgN6FWLZ6JE2sjtQoEOdmvBvKUtU1H4p5W+6MibaVDUyllIpZbT6yc61iwCAj Uuon7nyMKFrSBi0T1XcizenP0Ab9UwqJydBxcrW0RyL6txvx8WXlegRC44IjFSCz/Yp+SwbpqnJB L9VhcnUKgMR1eRHxcbnrAuU6MH+zdVcWzfc1QKfXlQt0AO977iyjb7PVgXYX+PECJIVs96JYGlLV u9KHtXYzTPqdPTks995ZCPb9x2fSR6NXsjIDKrWZFMpybtahP//llzH6fgGtSm7N1PqS6gAAABp6 VFh0SlBFRy1Db2xvcnNwYWNlAAB42jMCAAAzADMRFn5jAAAAJXpUWHRKUEVHLVNhbXBsaW5nLWZh Y3RvcnMAAHjaM6ww1DGEYAARbwLnIJ7wIwAAAABJRU5ErkJggg==
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: None
- References: <76C42610-83A0-4174-ADBF-5CD4D75891D5@xxxxxxxxx> <200610121802.k9CI2A8i025805@xxxxxxxxxxxxxx> <Pine.OSX.4.61.0610130720390.16279@xxxxxxxxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
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