[Git-commits] [grml/grml-etc-core] 0c9e97: zshrc: fix urxvt multi-line issue
cantandwont
noreply at github.com
Wed Aug 21 15:51:56 CEST 2019
Branch: refs/heads/master
Home: https://github.com/grml/grml-etc-core
Commit: 0c9e97b682fd575b995f084965e58cd750c90915
https://github.com/grml/grml-etc-core/commit/0c9e97b682fd575b995f084965e58cd750c90915
Author: cantandwont <52587695+cantandwont at users.noreply.github.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M etc/zsh/zshrc
Log Message:
-----------
zshrc: fix urxvt multi-line issue
Quoting from #74:
| When running multiline commands in urxvt, parts of the command are re-echoed.
|
| Example:
|
| me at system ~/foo % ls \
| \`> -l
|
| -ltotal 0
| -rw-r--r-- 1 me users 0 Feb 27 20:36 bar1
| -rw-r--r-- 1 me users 0 Feb 27 20:36 bar2
|
| me at system ~/foo %
|
| Note the '-l' be re-echoed in front of 'total'.
Quoting from zshmisc(1):
| preexec
|
| Executed just after a command has been read and is about to be
| executed. If the history mechanism is active (regardless of
| whether the line was discarded from the history buffer),
| the string that the user typed is passed as the first
| argument, otherwise it is an empty string. The actual command
| that will be executed (including expanded aliases) is passed
| in two different forms: the second argument is a
| single-line, size-limited version of the command (with things
| like function bodies elided); the third argument contains the
| full text that is being executed.
Closes: #74
More information about the Git-commits
mailing list