Update links
This commit is contained in:
parent
e6cb409135
commit
0b6e064850
|
@ -1,5 +1,5 @@
|
|||
; This file is for unifying the coding style for different editors and IDEs.
|
||||
; More information at http://EditorConfig.org
|
||||
; More information at https://editorconfig.org/
|
||||
|
||||
root = true
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
zsh-completions ![GitHub release](https://img.shields.io/github/release/zsh-users/zsh-completions.svg) ![GitHub contributors](https://img.shields.io/github/contributors/zsh-users/zsh-completions.svg) [![IRC](https://img.shields.io/badge/IRC-%23zsh--completions-yellow.svg)](irc://irc.freenode.net/#zsh-completions) [![Gitter](https://badges.gitter.im/zsh-users/zsh-completions.svg)](https://gitter.im/zsh-users/zsh-completions?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
||||
=============
|
||||
|
||||
**Additional completion definitions for [Zsh](http://www.zsh.org).**
|
||||
**Additional completion definitions for [Zsh](https://www.zsh.org/).**
|
||||
|
||||
*This projects aims at gathering/developing new completion scripts that are not available in Zsh yet. The scripts may be contributed to the Zsh project when stable enough.*
|
||||
|
||||
|
@ -16,12 +16,12 @@ zsh-completions ![GitHub release](https://img.shields.io/github/release/zsh-user
|
|||
| Fedora / CentOS / RHEL / Scientific Linux | [zsh-completions OBS repository](https://software.opensuse.org/download.html?project=shells%3Azsh-users%3Azsh-completions&package=zsh-completions) |
|
||||
| OpenSUSE / SLE | [zsh-completions OBS repository](https://software.opensuse.org/download.html?project=shells%3Azsh-users%3Azsh-completions&package=zsh-completions) |
|
||||
| Arch Linux / Manjaro / Antergos / Hyperbola | [zsh-completions](https://www.archlinux.org/packages/zsh-completions), [zsh-completions-git](https://aur.archlinux.org/packages/zsh-completions-git) |
|
||||
| Gentoo / Funtoo | [app-shells/zsh-completions](http://packages.gentoo.org/package/app-shells/zsh-completions) |
|
||||
| Gentoo / Funtoo | [app-shells/zsh-completions](https://packages.gentoo.org/packages/app-shells/zsh-completions) |
|
||||
| NixOS | [zsh-completions](https://github.com/NixOS/nixpkgs/blob/master/pkgs/shells/zsh/zsh-completions/default.nix) |
|
||||
| Void Linux | [zsh-completions](https://github.com/void-linux/void-packages/blob/master/srcpkgs/zsh-completions/template) |
|
||||
| Slackware | [Slackbuilds](https://slackbuilds.org/repository/14.2/system/zsh-completions/) |
|
||||
| macOS | [homebrew](https://github.com/Homebrew/homebrew-core/blob/master/Formula/zsh-completions.rb), [MacPorts](https://github.com/macports/macports-ports/blob/master/sysutils/zsh-completions/Portfile) |
|
||||
| NetBSD | [pkgsrc](http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/shells/zsh-completions/README.html) |
|
||||
| NetBSD | [pkgsrc](https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/shells/zsh-completions/README.html) |
|
||||
| FreeBSD | [shells/zsh-completions](https://www.freshports.org/shells/zsh-completions) |
|
||||
|
||||
|
||||
|
@ -31,7 +31,7 @@ zsh-completions ![GitHub release](https://img.shields.io/github/release/zsh-user
|
|||
|
||||
Add `antigen bundle zsh-users/zsh-completions` to your `~/.zshrc`.
|
||||
|
||||
#### [oh-my-zsh](http://github.com/robbyrussell/oh-my-zsh)
|
||||
#### [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh)
|
||||
|
||||
* Clone the repository inside your oh-my-zsh repo:
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef archlinux-java
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2016 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef artisan
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2011 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2011 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef atach
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2016 Github zsh-users - https://github.com/zsh-users
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining
|
||||
# a copy of this software and associated documentation files (the
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef bitcoin-cli
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2017 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2017 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef bower
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2016 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -28,7 +28,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for Bower (http://bower.io).
|
||||
# Completion script for Bower (https://bower.io).
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef caffeinate
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2017 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2017 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
2
src/_cap
2
src/_cap
|
@ -1,6 +1,6 @@
|
|||
#compdef cap
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2016 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef cask
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2014 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2014 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -28,7 +28,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for cask (http://cask.readthedocs.org)
|
||||
# Completion script for cask (https://cask.readthedocs.io)
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
2
src/_cf
2
src/_cf
|
@ -7,7 +7,7 @@
|
|||
# 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
|
||||
# https://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,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef choc
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2012 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2012 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -28,7 +28,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for choc (http://chocolatapp.com)
|
||||
# Completion script for choc (https://chocolatapp.com/)
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef console
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2011 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2011 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for cppcheck -- a tool for static C/C++ code analysis (http://cppcheck.sourceforge.net)
|
||||
# Completion script for cppcheck -- a tool for static C/C++ code analysis (https://cppcheck.sourceforge.io/)
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
2
src/_dad
2
src/_dad
|
@ -1,6 +1,6 @@
|
|||
#compdef dad
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2016 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef dget
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2016 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef diana
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2016 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef drush
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2014 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2014 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -28,7 +28,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for Drush (http://drush.ws).
|
||||
# Completion script for Drush (https://drushcommands.com/).
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for ecdsaultils v0.4.0 (https://github.com/tcatm/ecdsautils)
|
||||
# Completion script for ecdsaultils v0.4.0 (https://github.com/freifunk-gluon/ecdsautils)
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# -----------
|
||||
#
|
||||
# Completion script for emulator (Android Emulator) 12.0
|
||||
# (http://developer.android.com/guide/developing/tools/emulator.html).
|
||||
# (https://developer.android.com/studio/run/emulator-command).
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef exportfs
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2011 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2011 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
4
src/_fab
4
src/_fab
|
@ -1,6 +1,6 @@
|
|||
#compdef fab
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2015 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2015 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -28,7 +28,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for Fabric (http://fabfile.org)
|
||||
# Completion script for Fabric (https://www.fabfile.org/)
|
||||
#
|
||||
# Source: https://github.com/vhbit/fabric-zsh-autocomplete
|
||||
#
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef fail2ban-client
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2020 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2020 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef ffind
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2017 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2017 Github zsh-users - https://github.com/zsh-users
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining
|
||||
# a copy of this software and associated documentation files (the
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#compdef fleetctl
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2009-2015 Robby Russell and contributors (see
|
||||
# https://github.com/robbyrussell/oh-my-zsh/contributors)
|
||||
# https://github.com/ohmyzsh/ohmyzsh/graphs/contributors)
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
2
src/_gas
2
src/_gas
|
@ -1,6 +1,6 @@
|
|||
#compdef gas
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2016 Github zsh-users - https://github.com/zsh-users
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining
|
||||
# a copy of this software and associated documentation files (the
|
||||
|
|
4
src/_ghc
4
src/_ghc
|
@ -1,6 +1,6 @@
|
|||
#compdef ghc ghci ghc-pkg
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2014 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2014 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -28,7 +28,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for ghc (http://www.haskell.org/ghc/)
|
||||
# Completion script for ghc (https://www.haskell.org/ghc/)
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for git-flow (http://github.com/nvie/gitflow).
|
||||
# Completion script for git-flow (https://github.com/nvie/gitflow).
|
||||
#
|
||||
# Source: https://github.com/bobthecow/git-flow-completion
|
||||
#
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef git-wtf
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2011 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2011 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#compdef go -P -value-,GO*,-default- -P -value-,CGO*,-default-
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2016 Github zsh-users - https://github.com/zsh-users
|
||||
# Copyright (c) 2013-2015 Robby Russell and contributors (see
|
||||
# https://github.com/robbyrussell/oh-my-zsh/contributors)
|
||||
# https://github.com/ohmyzsh/ohmyzsh/graphs/contributors)
|
||||
# Copyright (c) 2010-2014 Go authors
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -30,7 +30,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for go 1.19 (http://golang.org).
|
||||
# Completion script for go 1.19 (https://go.dev/).
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
@ -39,7 +39,7 @@
|
|||
# * Mikkel Oscar Lyderik Larsen <mikkeloscar@gmail.com>
|
||||
# * Paul Seyfert <pseyfert.mathphys@gmail.com>
|
||||
# * oh-my-zsh authors:
|
||||
# https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/golang/golang.plugin.zsh
|
||||
# https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/golang/golang.plugin.zsh
|
||||
# * Go authors
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef google
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2016 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#compdef gpgconf
|
||||
# Copyright (c) 2021 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2021 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef gtk-launch
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2011 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2011 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -28,7 +28,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for gtk-launch on gtk+-3.14.8 (http://www.gtk.org/).
|
||||
# Completion script for gtk-launch on gtk+-3.14.8 (https://www.gtk.org/).
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# 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
|
||||
# https://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,
|
||||
|
@ -16,7 +16,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for hledger 1.10 ( http://hledger.org/ )
|
||||
# Completion script for hledger 1.10 ( https://hledger.org/ )
|
||||
# Last updated: 07.08.2018
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef homestead
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2011 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2011 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef http https=http
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2015 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2015 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#
|
||||
# CERN
|
||||
#
|
||||
# http://cern.ch
|
||||
# https://home.web.cern.ch/
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for JMeter (http://jakarta.apache.org/jmeter).
|
||||
# Completion script for JMeter (https://jmeter.apache.org/).
|
||||
#
|
||||
# Status: incomplete
|
||||
#
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# -----------
|
||||
#
|
||||
# Completion script for jmeter-plugins command line tool 0.4.2
|
||||
# (http://code.google.com/p/jmeter-plugins).
|
||||
# (https://jmeter-plugins.org/).
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for JOnAS 5.2 (http://jonas.ow2.org).
|
||||
# Completion script for JOnAS 5.2 (https://jonas.ow2.org/).
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef jrnl
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2016 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef kitchen
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2014 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2014 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -28,7 +28,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for Test Kitchen (http://kitchen.ci/).
|
||||
# Completion script for Test Kitchen (https://kitchen.ci/).
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#compdef knife
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2009-2015 Robby Russell and contributors (see
|
||||
# https://github.com/robbyrussell/oh-my-zsh/contributors)
|
||||
# https://github.com/ohmyzsh/ohmyzsh/graphs/contributors)
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -24,7 +24,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for Chef's knife (http://www.opscode.com/chef).
|
||||
# Completion script for Chef's knife (https://www.chef.io/).
|
||||
#
|
||||
# Source: https://github.com/ohmyzsh/ohmyzsh/blob/22fed4f/plugins/knife/_knife
|
||||
#
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for middleman (http://middlemanapp.com/)
|
||||
# Completion script for middleman (https://middlemanapp.com/)
|
||||
# Includes commands from middleman-blog and middleman-deploy extensions.
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef mina
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2016 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
2
src/_mix
2
src/_mix
|
@ -2,7 +2,7 @@
|
|||
#autoload
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2016 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -49,7 +49,7 @@ fi
|
|||
# Cache invalidates after 30 seconds
|
||||
#
|
||||
# Reference:
|
||||
# http://zsh.sourceforge.net/Doc/Release/Expansion.html#index-globbing_002c-qualifiers
|
||||
# https://zsh.sourceforge.net/Doc/Release/Expansion.html#index-globbing_002c-qualifiers
|
||||
local -a oldp
|
||||
oldp=( "$1"(ms+30) )
|
||||
(( $#oldp ))
|
||||
|
@ -104,5 +104,5 @@ fi
|
|||
_describe 'command' instances
|
||||
|
||||
# Reference:
|
||||
# http://zsh.sourceforge.net/Doc/Release/Completion-System.html
|
||||
# https://zsh.sourceforge.net/Doc/Release/Completion-System.html
|
||||
# https://github.com/zsh-users/zsh-completions/blob/master/zsh-completions-howto.org
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef mussh
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2011 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2011 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -28,7 +28,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for MUltihost SSH Wrapper (http://mussh.sourceforge.net/)
|
||||
# Completion script for MUltihost SSH Wrapper (https://sourceforge.net/projects/mussh/)
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for nanoc (https://nanoc.ws/)
|
||||
# Completion script for nanoc (https://nanoc.app/)
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef node
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2018 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2018 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef openssl
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2011 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2011 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef openvpn3
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2011 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2011 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef optirun
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2011 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2011 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#compdef opusenc opusdec opusinfo
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2021 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2021 Github zsh-users - https://github.com/zsh-users
|
||||
#
|
||||
# Permission is hereby granted, without written agreement and without
|
||||
# licence or royalty fees, to use, copy, modify, and distribute this
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef patool
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2017 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2017 Github zsh-users - https://github.com/zsh-users
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining
|
||||
# a copy of this software and associated documentation files (the
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for Periscope (http://code.google.com/p/periscope).
|
||||
# Completion script for Periscope (https://code.google.com/archive/p/periscope/).
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef psql pg_dump pg_dumpall pg_restore createdb dropdb vacuumdb createuser dropuser initdb
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users, Dominic Mitchell, Johann 'Myrkraverk' Oskarsson, Daniel Serodio, J Smith
|
||||
# Copyright (c) 2016 Github zsh-users - https://github.com/zsh-users, Dominic Mitchell, Johann 'Myrkraverk' Oskarsson, Daniel Serodio, J Smith
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -28,9 +28,9 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for PostgreSQL utils (http://postgresql.org).
|
||||
# Completion script for PostgreSQL utils (https://www.postgresql.org/).
|
||||
#
|
||||
# Source: http://www.zsh.org/mla/users/2004/msg01006.html
|
||||
# Source: https://www.zsh.org/mla/users/2004/msg01006.html
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for Phing (http://phing.info).
|
||||
# Completion script for Phing (https://www.phing.info/).
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
@ -38,7 +38,7 @@ _phing() {
|
|||
integer NORMARG
|
||||
typeset -A opt_args
|
||||
|
||||
# Follow http://phing.info/docs/stable/webhelp/sec.commandlineargs.html for more information
|
||||
# Follow https://www.phing.info/guide/chunkhtml/sec.commandlineargs.html for more information
|
||||
_arguments \
|
||||
'(-h -help)'{-h,-help}'[display the help screen]' \
|
||||
'(-v -version)'{-v,-version}'[print version information and exit]' \
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef pixz
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2016 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for pkcon (http://www.packagekit.org).
|
||||
# Completion script for pkcon (https://www.freedesktop.org/software/PackageKit/).
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for Play! framework 1.2.2 (http://www.playframework.org).
|
||||
# Completion script for Play! framework 1.2.2 (https://www.playframework.com/).
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for MacPorts (http://www.macports.org).
|
||||
# Completion script for MacPorts (https://www.macports.org/).
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef protoc
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2020 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2020 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
2
src/_qmk
2
src/_qmk
|
@ -1,6 +1,6 @@
|
|||
#compdef qmk
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2011 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2011 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef rails
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2016 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -28,7 +28,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for Ruby on Rails (http://rubyonrails.org/).
|
||||
# Completion script for Ruby on Rails (https://rubyonrails.org/).
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef ralio
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2011 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2011 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#compdef redis-cli rec
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2009-2015 Robby Russell and contributors (see
|
||||
# https://github.com/robbyrussell/oh-my-zsh/contributors)
|
||||
# https://github.com/ohmyzsh/ohmyzsh/graphs/contributors)
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -24,9 +24,9 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for Redis (http://redis.io).
|
||||
# Completion script for Redis (https://redis.io/).
|
||||
#
|
||||
# Source: https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/redis-cli
|
||||
# Source: https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/redis-cli
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#compdef rfkill
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2014 Vincent Bernat <bernat@luffy.cx>
|
||||
# Copyright (c) 2014 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2014 Github zsh-users - https://github.com/zsh-users
|
||||
#
|
||||
# Permission to use, copy, modify, and/or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
|
@ -18,7 +18,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for rfkill (http://wireless.kernel.org/en/users/Documentation/rfkill)
|
||||
# Completion script for rfkill (https://wireless.wiki.kernel.org/en/users/Documentation/rfkill)
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef rmlint rmlint.sh -P rmlint.*.sh
|
||||
|
||||
# Copyright (c) 2021 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2021 Github zsh-users - https://github.com/zsh-users
|
||||
#
|
||||
# Permission is hereby granted, without written agreement and without
|
||||
# licence or royalty fees, to use, copy, modify, and distribute this
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef rslsync
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2017 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2017 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef rspec
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2016 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -28,7 +28,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for RSpec (http://rspec.info/).
|
||||
# Completion script for RSpec (https://rspec.info/).
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef rsvm
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2016 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
4
src/_sbt
4
src/_sbt
|
@ -1,6 +1,6 @@
|
|||
#compdef sbt
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2013 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2013 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -28,7 +28,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for sbt 0.12+ (http://scala-sbt.org).
|
||||
# Completion script for sbt 0.12+ (https://www.scala-sbt.org).
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef scala scalac
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2012 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2012 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -28,7 +28,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for scala and scalac (http://www.scala-lang.org/).
|
||||
# Completion script for scala and scalac (https://www.scala-lang.org/).
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef scrub
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2016 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -28,7 +28,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for scrub 2.6.1 (http://linux.die.net/man/1/scrub).
|
||||
# Completion script for scrub 2.6.1 (https://linux.die.net/man/1/scrub).
|
||||
#
|
||||
# A utility which iteratively writes patterns on files or disk devices
|
||||
# to make retrieving the data more difficult.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef setcap
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2011 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2011 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for setup.py (http://docs.python.org/distutils/).
|
||||
# Completion script for setup.py (https://docs.python.org/distutils/).
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
@ -342,8 +342,8 @@ _setuppy_sdist() {
|
|||
(( $+functions[_setuppy_register] )) ||
|
||||
_setuppy_register() {
|
||||
_arguments -s \
|
||||
"--repository=[url of repository \[default: http://pypi.python.org/pypi\]]" \
|
||||
"-r[url of repository \[default: http://pypi.python.org/pypi\]]" \
|
||||
"--repository=[url of repository \[default: https://pypi.python.org/pypi\]]" \
|
||||
"-r[url of repository \[default: https://pypi.python.org/pypi\]]" \
|
||||
"--show-response[display full response text from server]" \
|
||||
"--list-classifiers[list the valid Trove classifiers]" \
|
||||
"--strict[Will stop the registering if the meta-data are not fully compliant]" \
|
||||
|
@ -469,8 +469,8 @@ _setuppy_bdist_wininst() {
|
|||
(( $+functions[_setuppy_upload] )) ||
|
||||
_setuppy_upload() {
|
||||
_arguments -s \
|
||||
"--repository=[url of repository \[default: http://pypi.python.org/pypi\]]" \
|
||||
"-r[url of repository \[default: http://pypi.python.org/pypi\]]" \
|
||||
"--repository=[url of repository \[default: https://pypi.python.org/pypi\]]" \
|
||||
"-r[url of repository \[default: https://pypi.python.org/pypi\]]" \
|
||||
"--show-response[display full response text from server]" \
|
||||
"--sign[sign files to upload using gpg]" \
|
||||
"-s[sign files to upload using gpg]" \
|
||||
|
@ -697,8 +697,8 @@ _setuppy_install_egg_info() {
|
|||
(( $+functions[_setuppy_upload_docs] )) ||
|
||||
_setuppy_upload_docs() {
|
||||
_arguments -s \
|
||||
"--repository=[url of repository \[default: http://pypi.python.org/pypi\]]" \
|
||||
"-r[url of repository \[default: http://pypi.python.org/pypi\]]" \
|
||||
"--repository=[url of repository \[default: https://pypi.python.org/pypi\]]" \
|
||||
"-r[url of repository \[default: https://pypi.python.org/pypi\]]" \
|
||||
"--show-response[display full response text from server]" \
|
||||
"--upload-dir=[directory to upload]" \
|
||||
"*::setup.py commands:_setup.py"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef shellcheck
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2021 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2021 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
2
src/_srm
2
src/_srm
|
@ -1,6 +1,6 @@
|
|||
#compdef srm
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2016 Github zsh-users - https://github.com/zsh-users
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining
|
||||
# a copy of this software and associated documentation files (the
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef stack
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2015 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2015 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef supervisorctl
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2015 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2015 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -31,7 +31,7 @@
|
|||
# Completion script for supervisorctl from Supervisord (http://supervisord.org)
|
||||
#
|
||||
# Sources:
|
||||
# https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/supervisor
|
||||
# https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/supervisor
|
||||
# https://github.com/zsh-users/zsh-completions/blob/master/src/_brew
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#compdef thor
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2009-2015 Robby Russell and contributors (see
|
||||
# https://github.com/robbyrussell/oh-my-zsh/contributors)
|
||||
# https://github.com/ohmyzsh/ohmyzsh/graphs/contributors
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
2
src/_ufw
2
src/_ufw
|
@ -1,6 +1,6 @@
|
|||
#compdef ufw
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2016 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for VirtualBox (http://www.virtualbox.org).
|
||||
# Completion script for VirtualBox (https://www.virtualbox.org/).
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef vnstat
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2012 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2012 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef wemux
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2015 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2015 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef xinput
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2011 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2011 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef xsel
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2017 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2017 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -28,7 +28,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for xsel (http://www.vergenet.net/~conrad/software/xsel/).
|
||||
# Completion script for xsel (https://www.vergenet.net/~conrad/software/xsel/).
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef zcash-cli
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (c) 2017 Github zsh-users - http://github.com/zsh-users
|
||||
# Copyright (c) 2017 Github zsh-users - https://github.com/zsh-users
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -23,7 +23,7 @@ At the time of writing this document I was able to find a few other tutorials on
|
|||
explain a small portion of the capabilities of the completion system. This document aims to cover areas not explained elsewhere,
|
||||
with examples, so that you can learn how to write more advanced completion functions. I do not go into all the details, but will
|
||||
give enough information and examples to get you up and running. If you need more details you can look it up for yourself in the
|
||||
[[http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-System][official documentation]].
|
||||
[[https://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-System][official documentation]].
|
||||
|
||||
Please make any scripts that you create publicly available for others (e.g. by forking this repo and making a [[id:64bcd501-b0f0-48c7-b8e2-07af708b95ec][pull request]]).
|
||||
Also if you have any more information to add or improvements to make to this tutorial, please do.
|
||||
|
@ -41,7 +41,7 @@ The first line of a completion function file can look something like this:
|
|||
#+END_SRC
|
||||
This tells zsh that the file contains code for completing the foobar command.
|
||||
This is the format that you will use most often for the first line, but you can also use the same file for completing
|
||||
several different functions if you want. See [[http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Autoloaded-files][here]] for more details.
|
||||
several different functions if you want. See [[https://zsh.sourceforge.net/Doc/Release/Completion-System.html#Autoloaded-files][here]] for more details.
|
||||
|
||||
You can also use the compdef command directly (e.g. in your ~/.zshrc file) to tell zsh which function to use for completing
|
||||
a command like this:
|
||||
|
@ -56,9 +56,9 @@ or if you want to supply arguments:
|
|||
#+BEGIN_SRC sh
|
||||
> compdef '_function arg1 arg2' foobar
|
||||
#+END_SRC
|
||||
See [[http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Functions-4][here]] for more details.
|
||||
See [[https://zsh.sourceforge.net/Doc/Release/Completion-System.html#Functions-4][here]] for more details.
|
||||
** Completing generic gnu commands
|
||||
Many [[http://www.gnu.org/][gnu]] commands have a standardized way of listing option descriptions (when the --help option is used).
|
||||
Many [[https://www.gnu.org/][gnu]] commands have a standardized way of listing option descriptions (when the --help option is used).
|
||||
For these commands you can use the _gnu_generic function for automatically creating completions, like this:
|
||||
#+BEGIN_SRC sh
|
||||
> compdef _gnu_generic foobar
|
||||
|
@ -91,7 +91,7 @@ For very basic completions the _describe function should be adequate
|
|||
|
||||
** Utility functions
|
||||
Here is a list of some of the utility functions that may be of use.
|
||||
The full list of utility functions, with full explanations, is available [[http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-Functions][here]].
|
||||
The full list of utility functions, with full explanations, is available [[https://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-Functions][here]].
|
||||
Examples of how to use these functions are given in the next section.
|
||||
|
||||
*** main utility functions for overall completion
|
||||
|
@ -251,7 +251,7 @@ In this case paths to music files are completed stepwise descending down directo
|
|||
and the flags are completed as a comma separated list using the _values function.
|
||||
|
||||
I have just given you the basics of _arguments specifications here, you can also specify mutually exclusive options,
|
||||
repeated options & arguments, options beginning with + instead of -, etc. For more details see the [[http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-System][official documentation]].
|
||||
repeated options & arguments, options beginning with + instead of -, etc. For more details see the [[https://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-System][official documentation]].
|
||||
Also have a look at the tutorials mentioned at the end of this document, and the completion functions in the [[https://github.com/vapniks/zsh-completions/tree/master/src][src directory]].
|
||||
** Writing completion functions using _regex_arguments and _regex_words
|
||||
If you have a complex command line specification with several different possible argument sequences then
|
||||
|
@ -367,7 +367,7 @@ For a good example of the usage of _regex_words have a look at the _ip function.
|
|||
** complex completions with _values, _sep_parts, & _multi_parts
|
||||
The _values, _sep_parts & _multi_parts functions can be used either on their own, or as ACTIONs in specifications for
|
||||
_alternative, _arguments or _regex_arguments. The following examples may be instructive.
|
||||
See the [[http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-System][official documentation]] for more info.
|
||||
See the [[https://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-System][official documentation]] for more info.
|
||||
|
||||
Space separated list of mp3 files:
|
||||
#+BEGIN_SRC sh
|
||||
|
@ -392,7 +392,7 @@ _multi_parts : '(00:11:22:33:44:55 00:23:34:45:56:67 00:23:45:56:67:78)'
|
|||
** Adding completion words directly using compadd
|
||||
For more fine grained control you can use the builtin compadd function to add completion words directly.
|
||||
This function has many different options for controlling how completions are displayed and how text on the command line
|
||||
can be altered when words are completed. Read the [[http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-System][official documentation]] for full details.
|
||||
can be altered when words are completed. Read the [[https://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-System][official documentation]] for full details.
|
||||
Here I just give a few simple examples.
|
||||
|
||||
Add some words to the list of possible completions:
|
||||
|
@ -461,4 +461,4 @@ Note this only applies to utility functions that use ACTIONs in their specificat
|
|||
* Other resources
|
||||
[[https://wikimatze.de/writing-zsh-completion-for-padrino/][Here]] is a nicely formatted short tutorial showing basic usage of the _arguments function,
|
||||
and [[https://web.archive.org/web/20190411104837/http://www.linux-mag.com/id/1106/][here]] is a slightly more advanced tutorial using the _arguments function.
|
||||
[[http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-System][Here]] is the zshcompsys man page.
|
||||
[[https://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-System][Here]] is the zshcompsys man page.
|
||||
|
|
Loading…
Reference in New Issue