Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Print -s/-S - how to append to history file?
- X-seq: zsh-users 22133
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Sebastian Gniazdowski <psprint@xxxxxxxxxxxxxx>, "zsh-users@xxxxxxx " <zsh-users@xxxxxxx>
- Subject: Re: Print -s/-S - how to append to history file?
- Date: Wed, 30 Nov 2016 09:14:32 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=Ziye+Q5dqkZeG5uH31Btl+jndmadbUth+BjneTxDfIU=; b=wzFJH6/3JX/U5RaUE4UfHtQ8QuYXwZaevjKjqlwbJ/uLJF+gVf9xWZKK/yfVeXX1uQ FClid9KuU1ASvfyl+D7MA9CWnGqZ0gQHj68XN81QxCPkuF3oZ9MtX4/2oOkdo2Zz5iKm 7rdAqauFST3DEZGy1iAQMU+88Aptl7AA2ylcijJE6zwa6j2Sz9Q/wRVjbbHJb1k2h7ga Ip3JnxE1tfmL0JWQ8oKkrbYqWfpSi1XEWOTRizgZ7IWX3+2Yt+Bkz4hw0bam8AIifOBw 24gakymg5z0CwAJN5su2IK5yBW+Kr2gSENX/QplrdUsUtzA0EU67pCZ0ltXLS0OZ3UbN EE2A==
- In-reply-to: <XgT1vpTwWNy96-BdzMebOA0h6WUiHkyGO-9wbsEIze3_t3tLiuUGnTvs4GaZZcgDDGlphduSTIQMVZTtfKg_zwinimUr9VRhvOomuQvfjqk=@protonmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <XgT1vpTwWNy96-BdzMebOA0h6WUiHkyGO-9wbsEIze3_t3tLiuUGnTvs4GaZZcgDDGlphduSTIQMVZTtfKg_zwinimUr9VRhvOomuQvfjqk=@protonmail.com>
On Nov 30, 1:07am, Sebastian Gniazdowski wrote:
}
} doing print -s/-S indeed places the argument in $history. However, even
} though inc_append_history is set, file $HISTFILE isn't updated. Is there a
} way to make it work?
Running "fc -A -I" should do it. Automatic inc_append_history only happens
for "real" history events from prompt.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author