diff options
| author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-07-30 16:16:22 +0000 |
|---|---|---|
| committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-08-22 03:34:30 +0000 |
| commit | 7154052ebe3d810390164a05c39ff83f98a1d858 (patch) | |
| tree | de329087e802a17df0dd93aee35fdb5e49b25ac3 /Completion | |
| parent | 39064: use scalbn() instead of scalb() (mathfunc.c) (diff) | |
| download | zsh-7154052ebe3d810390164a05c39ff83f98a1d858.tar zsh-7154052ebe3d810390164a05c39ff83f98a1d858.tar.gz zsh-7154052ebe3d810390164a05c39ff83f98a1d858.tar.bz2 zsh-7154052ebe3d810390164a05c39ff83f98a1d858.tar.lz zsh-7154052ebe3d810390164a05c39ff83f98a1d858.tar.xz zsh-7154052ebe3d810390164a05c39ff83f98a1d858.tar.zst zsh-7154052ebe3d810390164a05c39ff83f98a1d858.zip | |
39046 + 39061: New :P history modifier.
Diffstat (limited to 'Completion')
| -rw-r--r-- | Completion/Base/Completer/_external_pwds | 2 | ||||
| -rw-r--r-- | Completion/Zsh/Type/_history_modifiers | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/Completion/Base/Completer/_external_pwds b/Completion/Base/Completer/_external_pwds index 4ad50f02b..79e3ba0eb 100644 --- a/Completion/Base/Completer/_external_pwds +++ b/Completion/Base/Completer/_external_pwds @@ -22,7 +22,7 @@ case $OSTYPE in ) ;; linux*) - dirs=( /proc/${^$(pidof zsh):#$$}/cwd(N:A) ) + dirs=( /proc/${^$(pidof zsh):#$$}/cwd(N:P) ) dirs=( $^dirs(N^@) ) ;; *) diff --git a/Completion/Zsh/Type/_history_modifiers b/Completion/Zsh/Type/_history_modifiers index 658f9f346..1a049d6cb 100644 --- a/Completion/Zsh/Type/_history_modifiers +++ b/Completion/Zsh/Type/_history_modifiers @@ -64,8 +64,8 @@ while true; do ) if (( ! global )); then list+=( - "a:absolute path" - "A:absolute path resolving symbolic links" + "a:absolute path, resolve '..' lexically" + "A:as ':a', then resolve symlinks" "c:PATH search for command" "g:globally apply s or &" "h:head - strip trailing path element" @@ -73,6 +73,7 @@ while true; do "r:root - strip suffix" "e:leave only extension" "Q:strip quotes" + "P:realpath, resolve '..' physically" "l:lower case all words" "u:upper case all words" ) |
