mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
![ivan tkachenko](/assets/img/avatar_default.png)
Completes all non-generic-Qt options listed in --help output. Note: it uses the new variable KDE_INSTALL_ZSHAUTOCOMPLETEDIR, which was added in ECM 5.101. Read more: https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/310
19 lines
534 B
Bash
19 lines
534 B
Bash
#compdef dolphin
|
|
|
|
# SPDX-FileCopyrightText: 2022 ivan tkachenko <me@ratijas.tk>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
local ret=1
|
|
|
|
_arguments -C \
|
|
'(* -)'{-h,--help}'[Displays help on commandline options]' \
|
|
'--select[The files and folders passed as arguments will be selected.]' \
|
|
'--split[Dolphin will get started with a split view.]' \
|
|
'--new-window[Dolphin will explicitly open in a new window.]' \
|
|
'--daemon[Start Dolphin Daemon (only required for DBus Interface).]' \
|
|
'*:: :_urls' \
|
|
&& ret=0
|
|
|
|
return $ret
|