makes https complete as http
This commit is contained in:
parent
954642753f
commit
993f76534d
1 changed files with 11 additions and 2 deletions
|
@ -2,6 +2,10 @@ fpath=("${ZSH_FOLDER}completion" $fpath)
|
|||
|
||||
# Make completion work
|
||||
autoload -U compinit
|
||||
|
||||
autoload bashcompinit
|
||||
bashcompinit
|
||||
|
||||
zstyle ':completion:*' menu select
|
||||
## Auto complete with case insenstivity and allowing some characters to be
|
||||
#forgotten at the start like a .
|
||||
|
@ -23,6 +27,11 @@ zstyle ':completion:*' verbose yes
|
|||
# Improve tab completion for encrypt and decrypt funcitons
|
||||
zstyle ':completion:*:decrypt:*' file-patterns '*.(pgp|gpg)'
|
||||
zstyle ':completion:*:encrypt:*' ignored-patterns '*.(pgp|gpg)'
|
||||
zstyle ':completion:*:reportGenerator:*' file-patterns '*.(json)'
|
||||
|
||||
# OPENAPI
|
||||
zstyle -e ':completion:*' urls '[ -n "$OPENAPI" ] && [ -f "$OPENAPI" ] && reply=( $(openapi -j "$OPENAPI" urls) )'
|
||||
|
||||
|
||||
export LISTMAX=-1
|
||||
|
||||
|
@ -42,8 +51,8 @@ compdef sshrc=ssh
|
|||
compdef v=vim
|
||||
compdef vi=vim
|
||||
|
||||
#autoload bashcompinit
|
||||
#bashcompinit
|
||||
compdef https=http
|
||||
|
||||
|
||||
# Include hidden files in autocomplete:
|
||||
_comp_options+=(globdots)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue