first commit
This commit is contained in:
commit
0610f4aeab
130 changed files with 9897 additions and 0 deletions
21
fn/-z4h-postinstall-powerlevel10k
Normal file
21
fn/-z4h-postinstall-powerlevel10k
Normal file
|
@ -0,0 +1,21 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
eval "$_z4h_opt"
|
||||
|
||||
zf_mkdir -p -- $Z4H/cache/powerlevel10k/p10k-root || return
|
||||
|
||||
if [[ $GITSTATUS_AUTO_INSTALL != 0 ]]; then
|
||||
if [[ -e $Z4H/.updating ]]; then
|
||||
print -ru2 -- ${(%):-"%F{3}z4h%f: updating %Bgitstatus%b binary"}
|
||||
else
|
||||
print -ru2 -- ${(%):-"%F{3}z4h%f: fetching %Bgitstatus%b binary"}
|
||||
fi
|
||||
|
||||
(
|
||||
unset -m 'GITSTATUS_*~GITSTATUS_CACHE_DIR'
|
||||
export GITSTATUS_CACHE_DIR=$GITSTATUS_CACHE_DIR
|
||||
$Z4H_PACKAGE_DIR/gitstatus/install -f
|
||||
) || return
|
||||
fi
|
||||
|
||||
z4h compile -- $Z4H_PACKAGE_DIR/{*.zsh-theme,internal/*.zsh,gitstatus/*.zsh,gitstatus/install}(N)
|
Loading…
Add table
Add a link
Reference in a new issue