OXIESEC PANEL
- Current Dir:
/
/
usr
/
share
/
zsh
/
vendor-completions
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/21/2019 03:48:26 PM
rwxr-xr-x
📄
_bootctl
1.08 KB
01/28/2018 03:58:17 PM
rw-r--r--
📄
_busctl
3.03 KB
01/28/2018 03:58:17 PM
rw-r--r--
📄
_curl
12.55 KB
03/15/2023 12:58:03 PM
rw-r--r--
📄
_hostnamectl
2.22 KB
01/28/2018 03:58:17 PM
rw-r--r--
📄
_journalctl
5.83 KB
01/28/2018 03:58:17 PM
rw-r--r--
📄
_kernel-install
651 bytes
01/28/2018 03:58:17 PM
rw-r--r--
📄
_localectl
3.5 KB
01/28/2018 03:58:17 PM
rw-r--r--
📄
_loginctl
5.67 KB
01/28/2018 03:58:17 PM
rw-r--r--
📄
_networkctl
1.21 KB
01/28/2018 03:58:17 PM
rw-r--r--
📄
_ninja
2.23 KB
09/11/2017 01:20:10 AM
rw-r--r--
📄
_sd_hosts_or_user_at_host
116 bytes
01/28/2018 03:58:17 PM
rw-r--r--
📄
_sd_outputmodes
279 bytes
01/28/2018 03:58:17 PM
rw-r--r--
📄
_sd_unit_files
255 bytes
01/28/2018 03:58:17 PM
rw-r--r--
📄
_snap
1.75 KB
12/01/2022 08:52:23 AM
rw-r--r--
📄
_systemctl
14.72 KB
03/02/2023 12:58:02 PM
rw-r--r--
📄
_systemd
3.75 KB
01/28/2018 03:58:17 PM
rw-r--r--
📄
_systemd-analyze
2.84 KB
01/28/2018 03:58:17 PM
rw-r--r--
📄
_systemd-delta
564 bytes
01/28/2018 03:58:17 PM
rw-r--r--
📄
_systemd-inhibit
1.04 KB
01/28/2018 03:58:17 PM
rw-r--r--
📄
_systemd-resolve
2.32 KB
01/28/2018 03:58:17 PM
rw-r--r--
📄
_systemd-run
3.06 KB
01/28/2018 03:58:17 PM
rw-r--r--
📄
_systemd-tmpfiles
736 bytes
01/28/2018 03:58:17 PM
rw-r--r--
📄
_timedatectl
1.99 KB
01/28/2018 03:58:17 PM
rw-r--r--
📄
_udevadm
5.86 KB
01/28/2018 03:58:17 PM
rw-r--r--
Editing: _ninja
Close
#compdef ninja # Copyright 2011 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Add the following to your .zshrc to tab-complete ninja targets # . path/to/ninja/misc/zsh-completion __get_targets() { dir="." if [ -n "${opt_args[-C]}" ]; then eval dir="${opt_args[-C]}" fi file="build.ninja" if [ -n "${opt_args[-f]}" ]; then eval file="${opt_args[-f]}" fi targets_command="ninja -f \"${file}\" -C \"${dir}\" -t targets all" eval ${targets_command} 2>/dev/null | cut -d: -f1 } __get_tools() { ninja -t list 2>/dev/null | while read -r a b; do echo $a; done | tail -n +2 } __get_modes() { ninja -d list 2>/dev/null | while read -r a b; do echo $a; done | tail -n +2 | sed '$d' } __modes() { local -a modes modes=(${(fo)"$(__get_modes)"}) _describe 'modes' modes } __tools() { local -a tools tools=(${(fo)"$(__get_tools)"}) _describe 'tools' tools } __targets() { local -a targets targets=(${(fo)"$(__get_targets)"}) _describe 'targets' targets } _arguments \ {-h,--help}'[Show help]' \ '--version[Print ninja version]' \ '-C+[Change to directory before doing anything else]:directories:_directories' \ '-f+[Specify input build file (default=build.ninja)]:files:_files' \ '-j+[Run N jobs in parallel (default=number of CPUs available)]:number of jobs' \ '-l+[Do not start new jobs if the load average is greater than N]:number of jobs' \ '-k+[Keep going until N jobs fail (default=1)]:number of jobs' \ '-n[Dry run (do not run commands but act like they succeeded)]' \ '-v[Show all command lines while building]' \ '-d+[Enable debugging (use -d list to list modes)]:modes:__modes' \ '-t+[Run a subtool (use -t list to list subtools)]:tools:__tools' \ '*::targets:__targets'