mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-27 16:51:15 -03:00
completions/bind: removed the unused __fish_bind_test1 function
This commit is contained in:
committed by
Johannes Altmanninger
parent
e97a616ffa
commit
66ca7ac6d0
@@ -1,28 +1,3 @@
|
||||
function __fish_bind_test1
|
||||
set -l args
|
||||
set -l use_keys no
|
||||
for i in (commandline -pxc)
|
||||
switch $i
|
||||
case -k --k --ke --key
|
||||
set use_keys yes
|
||||
|
||||
case "-*"
|
||||
|
||||
case "*"
|
||||
set -a args $i
|
||||
end
|
||||
end
|
||||
|
||||
switch $use_keys
|
||||
case yes
|
||||
switch (count $args)
|
||||
case 1
|
||||
return 0
|
||||
end
|
||||
end
|
||||
return 1
|
||||
end
|
||||
|
||||
function __fish_bind_test2
|
||||
set -l args
|
||||
for i in (commandline -pxc)
|
||||
|
||||
Reference in New Issue
Block a user