diff options
Diffstat (limited to 'office/khal/khal-complete.fish')
-rw-r--r-- | office/khal/khal-complete.fish | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/office/khal/khal-complete.fish b/office/khal/khal-complete.fish index 9c02b4052b..4b2f994485 100644 --- a/office/khal/khal-complete.fish +++ b/office/khal/khal-complete.fish @@ -1,9 +1,5 @@ function _khal_completion; - set -l response; - - for value in (env _KHAL_COMPLETE=fish_complete COMP_WORDS=(commandline -cp) COMP_CWORD=(commandline -t) khal); - set response $response $value; - end; + set -l response (env _KHAL_COMPLETE=fish_complete COMP_WORDS=(commandline -cp) COMP_CWORD=(commandline -t) khal); for completion in $response; set -l metadata (string split "," $completion); |