removed windows and linux split subdir
This commit is contained in:
parent
83dda10fa8
commit
065b982734
280 changed files with 9053 additions and 426 deletions
29
.antidote/functions/antidote-home
Normal file
29
.antidote/functions/antidote-home
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#!/bin/zsh
|
||||
|
||||
### Print where antidote is cloning bundles.
|
||||
#
|
||||
# usage: antidote home [-h|--help]
|
||||
#
|
||||
# Can be overridden by setting `$ANTIDOTE_HOME`.
|
||||
#
|
||||
#function antidote-home {
|
||||
emulate -L zsh; setopt local_options $_adote_funcopts
|
||||
|
||||
typeset -g REPLY=
|
||||
local o_help
|
||||
zparseopts $_adote_zparopt_flags -- h=o_help -help=h || return 1
|
||||
|
||||
if (( $#o_help )); then
|
||||
antidote-help home
|
||||
return
|
||||
fi
|
||||
|
||||
local result
|
||||
if [[ -n "$ANTIDOTE_HOME" ]]; then
|
||||
result=$ANTIDOTE_HOME
|
||||
else
|
||||
result=$(__antidote_get_cachedir "antidote")
|
||||
fi
|
||||
print $result
|
||||
typeset -g REPLY=$result
|
||||
#}
|
||||
Loading…
Add table
Add a link
Reference in a new issue