Talk:Zsh
Same directory in newly opened tab
I had to append the following to my zshrc
~/.zshrc
<truncated> . /etc/profile.d/vte.sh
such that a newly opened tab opened in the previous working directory (using gnome-terminal). MrWhite (talk) 13:14, 5 November 2017 (UTC)
- I assume he refers to a .zshrc example at Nov 2017. The example at that time looks to me identical to a .zshrc example at Feb 2026. Regid (talk) 15:39, 21 February 2026 (UTC)
The Help command section accuracy is disputed
Quoting Help command section at Feb 2026
- Assistant functions have to be enabled separately:
autoload -Uz run-help-git run-help-ip run-help-openssl run-help-p4 run-help-sudo run-help-svk run-help-svn
- For example,
run-help git commitcommand will now open the man page git-commit(1) instead of git(1).
For Some of them, such as git and openssl, the assistant functions looks to me not required. I get the expected result anyway. I don't know if they were loaded automatically, or that something else set it correctly. Or that I have done something that I am not aware to being tied, or some other reason.
Further examination reveals, for example, that run-help git commit opens git-commit(1). Possibly because it is opened by the man git commit command as well. While hitting Esc h opens git(1).
Regid (talk) 15:57, 21 February 2026 (UTC)
- According to [1], invoking it as
run-help git commit(orhelp git commitif the alias is in place) is incorrect and it's not meant to be used like that. - You do need to load the assistant functions for
Alt+h/Eschto open git-commit(1) withgit commit. This is quite easy to test. - -- nl6720 (talk) 12:38, 22 February 2026 (UTC)