about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2014-07-24 10:49:50 +0100
committerPeter Stephenson <pws@zsh.org>2014-07-24 10:49:50 +0100
commit6076c474f2427ec9a75cecab1fc95f7cd9f066f6 (patch)
tree4566847be9d1225eefc9ad150df95f1d76c01efb /Doc
parent341d4434146d2216d4cdf4f0fffd060670d4c5c6 (diff)
downloadzsh-6076c474f2427ec9a75cecab1fc95f7cd9f066f6.tar.gz
zsh-6076c474f2427ec9a75cecab1fc95f7cd9f066f6.tar.xz
zsh-6076c474f2427ec9a75cecab1fc95f7cd9f066f6.zip
unposted: replace-argument can take negative prefix to count from end
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/contrib.yo1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index 4ee404c1b..1c1a66a3b 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -2339,6 +2339,7 @@ is not executed).  Arguments are as delimited by standard shell syntax,
 
 If a numeric argument is given, that specifies the argument to be
 replaced.  0 means the command name, as in history expansion.
+A negative numeric argument counts backward from the last word.
 
 If no numeric argument is given, the current argument is replaced;
 this is the last argument if the previous history line is being used.