completion: adopt commandline -x replacing deprecated -o

This gives us more accurate completions because completion scripts get
expanded paths
This commit is contained in:
Johannes Altmanninger
2024-01-22 07:42:45 +01:00
parent 798527d79a
commit 29f35d6cdf
150 changed files with 1394 additions and 1394 deletions

View File

@@ -1,6 +1,6 @@
function __fish_use_subcommand -d "Test if a non-switch argument has been given in the current commandline"
set -l cmd (commandline -poc)
set -l cmd (commandline -pxc)
set -e cmd[1]
for i in $cmd
switch $i