removed windows and linux split subdir

This commit is contained in:
Luka Jankovic 2026-02-03 23:43:22 +01:00
parent 83dda10fa8
commit 065b982734
280 changed files with 9053 additions and 426 deletions

View file

@ -0,0 +1,17 @@
#!/bin/zsh
### Get the short name of the bundle.
#function __antidote_bundle_name {
emulate -L zsh; setopt local_options $_adote_funcopts
local MATCH MBEGIN MEND; local -a match mbegin mend # appease 'warn_create_global'
local bundle=$1
local bundle_type="$(__antidote_bundle_type $bundle)"
if [[ "$bundle_type" == (url|sshurl) ]] ; then
bundle=${bundle%.git}
bundle=${bundle:gs/\:/\/}
local parts=(${(ps./.)bundle})
print ${parts[-2]}/${parts[-1]}
else
print $bundle | sed -e "s|^\~/|$HOME/|" -e "s|^$HOME|\$HOME|"
fi
#}