Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
#zsh autocompletion #more info at https://askql.wordpress.com/2011/01/11/zsh-writing-own-completion/ #list all paths that completion files are found echo $fpath #create your own completion folder mkdir -p ~/.zsh/completion #####add to ~/.zshrc or ~/.zshrc.local##### # COMPLETION SETTINGS # add custom completion scripts fpath=(~/.zsh/completion $fpath) # compsys initialization autoload -U compinit compinit # show completion menu when number of options is at least 2 zstyle ':completion:*' menu select=2 ###############END RC file################ #Created completion file (must start with _) vim ~/.zsh/completion/_hello #compdef hello _arguments "1: :(World People)" #restart shell, type 'hello' and press tab. #World and People should now be options
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)