]> cloud.milkyroute.net Git - dolphin.git/blob - completions/dolphin.zsh
Add zsh completions
[dolphin.git] / completions / dolphin.zsh
1 #compdef dolphin
2
3 # SPDX-FileCopyrightText: 2022 ivan tkachenko <me@ratijas.tk>
4 #
5 # SPDX-License-Identifier: GPL-2.0-or-later
6
7 local ret=1
8
9 _arguments -C \
10 '(* -)'{-h,--help}'[Displays help on commandline options]' \
11 '--select[The files and folders passed as arguments will be selected.]' \
12 '--split[Dolphin will get started with a split view.]' \
13 '--new-window[Dolphin will explicitly open in a new window.]' \
14 '--daemon[Start Dolphin Daemon (only required for DBus Interface).]' \
15 '*:: :_urls' \
16 && ret=0
17
18 return $ret