We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 803bbd1 commit c8b3d90Copy full SHA for c8b3d90
completions/dolphin.zsh
@@ -6,13 +6,19 @@
6
7
local ret=1
8
9
+# complete both URL protocols and local directories
10
+_urls_and_dirs() {
11
+ _urls
12
+ _directories
13
+}
14
+
15
_arguments -C \
16
'(* -)'{-h,--help}'[Displays help on commandline options]' \
17
'--select[The files and folders passed as arguments will be selected.]' \
18
'--split[Dolphin will get started with a split view.]' \
19
'--new-window[Dolphin will explicitly open in a new window.]' \
20
'--daemon[Start Dolphin Daemon (only required for DBus Interface).]' \
- '*:: :_urls' \
21
+ '*:: :_urls_and_dirs' \
22
&& ret=0
23
24
return $ret
0 commit comments