Readd _has helper
This commit is contained in:
parent
1973fe08cf
commit
51055a2487
1 changed files with 6 additions and 0 deletions
|
@ -14,6 +14,12 @@ fi
|
|||
zstyle ':znap:*' repos-dir ~/.znap
|
||||
source ~/.znap/znap/znap.zsh
|
||||
|
||||
# Helper Functions
|
||||
# Returns whether the given command is executable or aliased.
|
||||
_has() {
|
||||
return $( whence $1 >/dev/null )
|
||||
}
|
||||
|
||||
# autocomplete settings
|
||||
zstyle ':autocomplete:tab:*' widget-style menu-select
|
||||
zstyle ':autocomplete:*' fzf-completion yes
|
||||
|
|
Loading…
Add table
Reference in a new issue