diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2007-03-22 10:45:19 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-03-22 10:45:19 +0000 |
| commit | fcbb417504f06a61177f27259a165ef8598ca536 (patch) | |
| tree | 0a432e208e08b95f31c147e488bb44dabebcd8b8 /Completion/Unix/Command | |
| parent | fix output of prompt in single line ZLE (diff) | |
| download | zsh-fcbb417504f06a61177f27259a165ef8598ca536.tar zsh-fcbb417504f06a61177f27259a165ef8598ca536.tar.gz zsh-fcbb417504f06a61177f27259a165ef8598ca536.tar.bz2 zsh-fcbb417504f06a61177f27259a165ef8598ca536.tar.lz zsh-fcbb417504f06a61177f27259a165ef8598ca536.tar.xz zsh-fcbb417504f06a61177f27259a165ef8598ca536.tar.zst zsh-fcbb417504f06a61177f27259a165ef8598ca536.zip | |
23226: handle "nice -n<->"
Diffstat (limited to 'Completion/Unix/Command')
| -rw-r--r-- | Completion/Unix/Command/_nice | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_nice b/Completion/Unix/Command/_nice index f2f688368..29070697f 100644 --- a/Completion/Unix/Command/_nice +++ b/Completion/Unix/Command/_nice @@ -3,7 +3,7 @@ shift words (( CURRENT-- )) -if [[ $CURRENT -gt 1 && $words[1] = [-+](-|)<-> ]]; then +if [[ $CURRENT -gt 1 && $words[1] = ([-+](-|)|-n)<-> ]]; then shift words (( CURRENT -- )) elif [[ $CURRENT -gt 2 && $words[1] = -n ]]; then |
