diff options
| -rw-r--r-- | completions/_rsp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/completions/_rsp b/completions/_rsp index 89d122b..197b5b1 100644 --- a/completions/_rsp +++ b/completions/_rsp | |||
| @@ -2,7 +2,6 @@ | |||
| 2 | functions[_rsp_clap]=$functions[_rsp] | 2 | functions[_rsp_clap]=$functions[_rsp] |
| 3 | 3 | ||
| 4 | _rsp() { | 4 | _rsp() { |
| 5 | setopt nobanghist | ||
| 6 | case $words[2] in | 5 | case $words[2] in |
| 7 | play|queue) | 6 | play|queue) |
| 8 | if (( CURRENT > 2 )); then | 7 | if (( CURRENT > 2 )); then |
| @@ -22,7 +21,6 @@ _rsp() { | |||
| 22 | } | 21 | } |
| 23 | 22 | ||
| 24 | _rsp_complete_args() { | 23 | _rsp_complete_args() { |
| 25 | setopt nobanghist | ||
| 26 | local -a args=("${(@)words[3,$CURRENT]}") | 24 | local -a args=("${(@)words[3,$CURRENT]}") |
| 27 | local cur="${(j: :)args}" | 25 | local cur="${(j: :)args}" |
| 28 | # No completion if this is a flag (handled above) | 26 | # No completion if this is a flag (handled above) |
