romkatv / gitstatus

Git status for Bash and Zsh prompt
GNU General Public License v3.0
1.7k stars 105 forks source link

gitstatus error when running powerLevel10K on MacbookPro M2 #407

Closed alessiaAmitrano closed 1 year ago

alessiaAmitrano commented 1 year ago

Hi, I have an issue with the configuration of powerLevel10K involving gitstatus. After installing p10k, every time I open iTerm I get this error below and a prompt in an os dialog saying 'You don't have permission to use the application "gitstatusd-darwin-arm64". For more information , contact the person who set up you account'.

Is there anything I can do to fix this?

`/Users/alessia_amitrano/.zshrc:source:84: no such file or directory: /usr/local/opt/powerlevel10k/powerlevel10k.zsh-theme /Users/alessia_amitrano/.zshrc:127: command not found: pyenv [powerlevel10k] fetching gitstatusd .. - [ERROR]: gitstatus failed to initialize.

Zsh log (/private/var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T/gitstatus.POWERLEVEL9K.1906036736.23720.1693415964.1.xtrace.log):

+(anon):7> setopt monitor
+(anon):9> ((  ! _GITSTATUS_STATE_POWERLEVEL9K  ))
+(anon):10> [[ -r /proc/version ]]
+(anon):13> print -rn
+(anon):14> zsystem flock -f lock_fd /private/var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T/gitstatus.POWERLEVEL9K.1906036736.23720.1693415964.1.lock
+(anon):15> [[ 14 == <1-> ]]
+(anon):18> typeset -gi '_GITSTATUS_LOCK_FD_POWERLEVEL9K=lock_fd'
+(anon):20> [[ darwin22.0 == cygwin* ]]
+(anon):41> sysopen -r -o cloexec -u resp_fd /dev/fd/13
+(anon):44> typeset -gi 'GITSTATUS_DAEMON_PID_POWERLEVEL9K=23787'
+(anon):41> _gitstatus_daemon_p9k_
+(anon):46> [[ 16 == <1-> ]]
+_gitstatus_daemon_p9k_:1> local -i pipe_fd
+(anon):47> typeset -gi '_GITSTATUS_RESP_FD_POWERLEVEL9K=resp_fd'
+(anon):48> typeset -gi '_GITSTATUS_STATE_POWERLEVEL9K=1'
+(anon):51> ((  ! async  ))
+(anon):52> ((  _GITSTATUS_CLIENT_PID_POWERLEVEL9K == sysparams[pid]  ))
+(anon):54> local pgid
+(anon):55> ((  0 < 20  ))
+(anon):56> [[ -t 16 ]]
+(anon):57> sysread -s 20 -t 10.0000000000 -i 16 'pgid[$#pgid+1]'
+(anon):55> ((  20 < 20  ))
+(anon):59> [[ '               23787' == \ #<1-> ]]
+(anon):60> typeset -gi 'GITSTATUS_DAEMON_PID_POWERLEVEL9K=pgid'
+(anon):62> sysopen -w -o cloexec -u req_fd -- /private/var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T/gitstatus.POWERLEVEL9K.1906036736.23720.1693415964.1.fifo
+(anon):63> [[ 15 == <1-> ]]
+(anon):64> typeset -gi '_GITSTATUS_REQ_FD_POWERLEVEL9K=req_fd'
+(anon):66> print -nru 15 -- $'}hello\C-_\C-^'
+(anon):67> local expected=$'}hello\C-_0\C-^' actual
+(anon):68> ((  1  ))
+(anon):68> [[ ! -t 1 ]]
+(anon):71> local -F deadline=1
+(anon):73> true
+(anon):74> [[ -t 16 ]]
+(anon):75> sysread -s 1 -t 10.0000000000 -i 16 actual
+(anon):76> [[ $'}hello\C-_0\C-^' == * ]]
+(anon):77> [[ $'\C-A' !=  ]]
+(anon):85> ((  EPOCHREALTIME < deadline  ))
+(anon):86> ((  deadline > 0  ))
+(anon):87> deadline=0
+(anon):88> ((  stderr_fd  ))
+(anon):89> unsetopt xtrace

Daemon log (/private/var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T/gitstatus.POWERLEVEL9K.1906036736.23720.1693415964.1.daemon.log):

+_gitstatus_daemon_p9k_:3> local pgid=23787
+_gitstatus_daemon_p9k_:4> [[ 23787 == <1-> ]]
+_gitstatus_daemon_p9k_:5> cd -q /
+_gitstatus_daemon_p9k_:9> trap '' PIPE
+_gitstatus_daemon_p9k_:90> ((  lock_fd == -1  ))
+_gitstatus_daemon_p9k_:11> local uname_sm
+_gitstatus_daemon_p9k_:12> uname_sm=+_gitstatus_daemon_p9k_:93> zsystem flock -- /private/var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T/gitstatus.POWERLEVEL9K.1906036736.23720.1693415964.1.lock
+_gitstatus_daemon_p9k_:12> uname -sm
+_gitstatus_daemon_p9k_:12> uname_sm='darwin arm64'
+_gitstatus_daemon_p9k_:13> [[ 'darwin arm64' == [^\ ]##\ [^\ ]## ]]
+_gitstatus_daemon_p9k_:14> local uname_s=darwin
+_gitstatus_daemon_p9k_:15> local uname_m=arm64
+_gitstatus_daemon_p9k_:17> [[ '' == <1-> ]]
+_gitstatus_daemon_p9k_:20> local cpus
+_gitstatus_daemon_p9k_:21> ((  ! 1  ))
+_gitstatus_daemon_p9k_:21> [[ darwin == linux ]]
+_gitstatus_daemon_p9k_:22> cpus=+_gitstatus_daemon_p9k_:22> sysctl -n hw.ncpu
+_gitstatus_daemon_p9k_:22> cpus=12
+_gitstatus_daemon_p9k_:27> args+=( -t 24 )
+_gitstatus_daemon_p9k_:30> mkfifo -- /private/var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T/gitstatus.POWERLEVEL9K.1906036736.23720.1693415964.1.fifo
+_gitstatus_daemon_p9k_:31> print -rnu 15 -- '               23787'
+_gitstatus_daemon_p9k_:33> zf_rm -- /private/var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T/gitstatus.POWERLEVEL9K.1906036736.23720.1693415964.1.fifo
+_gitstatus_daemon_p9k_:35> local _gitstatus_zsh_daemon _gitstatus_zsh_version _gitstatus_zsh_downloaded
+_gitstatus_daemon_p9k_:43> local gitstatus_plugin_dir_var=_gitstatus_plugin_dir_p9k_
+_gitstatus_daemon_p9k_:44> local gitstatus_plugin_dir=/Users/alessia_amitrano/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus
+_gitstatus_daemon_p9k_:45> set -- -d /Users/alessia_amitrano/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus -s darwin -m arm64 -p 'printf '\''\001'\'' >&15' -e 15 -- _gitstatus_set_daemon_p9k_
+_gitstatus_daemon_p9k_:47> [[ 1 == (|-|+)<1-> ]]
+_gitstatus_daemon_p9k_:48> source /Users/alessia_amitrano/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus/install
+/Users/alessia_amitrano/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus/install:472> [ -z '' ']'
+/Users/alessia_amitrano/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus/install:473> _gitstatus_install_main /Users/alessia_amitrano/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus -d /Users/alessia_amitrano/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus -s darwin -m arm64 -p 'printf '\''\001'\'' >&15' -e 15 -- _gitstatus_set_daemon_p9k_
+_gitstatus_install_main:1> [ -n 5.9 ']'
+_gitstatus_install_main:2> emulate -L sh -o no_unset
+_gitstatus_install_main:7> local argv1=/Users/alessia_amitrano/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus
+_gitstatus_install_main:8> shift
+_gitstatus_install_main:10> local no_check='' no_install='' uname_s='' uname_m='' gitstatus_dir='' dl_status='' e=''
+_gitstatus_install_main:11> local opt='' OPTARG='' OPTIND=1
+_gitstatus_install_main:13> getopts :s:m:d:p:e:fnh opt -d /Users/alessia_amitrano/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus -s darwin -m arm64 -p 'printf '\''\001'\'' >&15' -e 15 -- _gitstatus_set_daemon_p9k_
+_gitstatus_install_main:14> case d (h)
+_gitstatus_install_main:14> case d (n)
+_gitstatus_install_main:14> case d (f)
+_gitstatus_install_main:14> case d (d)
+_gitstatus_install_main:55> [ -n '' ']'
+_gitstatus_install_main:59> [ -z /Users/alessia_amitrano/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus ']'
+_gitstatus_install_main:63> gitstatus_dir=/Users/alessia_amitrano/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus
+_gitstatus_install_main:13> getopts :s:m:d:p:e:fnh opt -d /Users/alessia_amitrano/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus -s darwin -m arm64 -p 'printf '\''\001'\'' >&15' -e 15 -- _gitstatus_set_daemon_p9k_
+_gitstatus_install_main:14> case s (h)
+_gitstatus_install_main:14> case s (n)
+_gitstatus_install_main:14> case s (f)
+_gitstatus_install_main:14> case s (d)
+_gitstatus_install_main:14> case s (p)
+_gitstatus_install_main:14> case s (e)
+_gitstatus_install_main:14> case s (m)
+_gitstatus_install_main:14> case s (s)
+_gitstatus_install_main:99> [ -n '' ']'
+_gitstatus_install_main:103> [ -z darwin ']'
+_gitstatus_install_main:107> uname_s=darwin
+_gitstatus_install_main:13> getopts :s:m:d:p:e:fnh opt -d /Users/alessia_amitrano/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus -s darwin -m arm64 -p 'printf '\''\001'\'' >&15' -e 15 -- _gitstatus_set_daemon_p9k_
+_gitstatus_install_main:14> case m (h)
+_gitstatus_install_main:14> case m (n)
+_gitstatus_install_main:14> case m (f)
+_gitstatus_install_main:14> case m (d)
+_gitstatus_install_main:14> case m (p)
+_gitstatus_install_main:14> case m (e)
+_gitstatus_install_main:14> case m (m)
+_gitstatus_install_main:88> [ -n '' ']'
+_gitstatus_install_main:92> [ -z arm64 ']'
+_gitstatus_install_main:96> uname_m=arm64
+_gitstatus_install_main:13> getopts :s:m:d:p:e:fnh opt -d /Users/alessia_amitrano/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus -s darwin -m arm64 -p 'printf '\''\001'\'' >&15' -e 15 -- _gitstatus_set_daemon_p9k_
+_gitstatus_install_main:14> case p (h)
+_gitstatus_install_main:14> case p (n)
+_gitstatus_install_main:14> case p (f)
+_gitstatus_install_main:14> case p (d)
+_gitstatus_install_main:14> case p (p)
+_gitstatus_install_main:66> [ -n '' ']'
+_gitstatus_install_main:70> [ -z 'printf '\''\001'\'' >&15' ']'
+_gitstatus_install_main:74> dl_status='printf '\''\001'\'' >&15'
+_gitstatus_install_main:13> getopts :s:m:d:p:e:fnh opt -d /Users/alessia_amitrano/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus -s darwin -m arm64 -p 'printf '\''\001'\'' >&15' -e 15 -- _gitstatus_set_daemon_p9k_
+_gitstatus_install_main:14> case e (h)
+_gitstatus_install_main:14> case e (n)
+_gitstatus_install_main:14> case e (f)
+_gitstatus_install_main:14> case e (d)
+_gitstatus_install_main:14> case e (p)
+_gitstatus_install_main:14> case e (e)
+_gitstatus_install_main:77> [ -n '' ']'
+_gitstatus_install_main:81> [ -z 15 ']'
+_gitstatus_install_main:85> e=15
+_gitstatus_install_main:13> getopts :s:m:d:p:e:fnh opt -d /Users/alessia_amitrano/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus -s darwin -m arm64 -p 'printf '\''\001'\'' >&15' -e 15 -- _gitstatus_set_daemon_p9k_
+_gitstatus_install_main:115> shift 11
+_gitstatus_install_main:117> : 15
+_gitstatus_install_main:118> : /Users/alessia_amitrano/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus
+_gitstatus_install_main:120> [ -n '' -a -n '' ']'
+_gitstatus_install_main:125> [ -z darwin ']'
+_gitstatus_install_main:129> [ -z arm64 ']'
+_gitstatus_install_main:134> local daemon=''
+_gitstatus_install_main:135> local cache_dir=/Users/alessia_amitrano/.cache/gitstatus
+_gitstatus_install_main:137> [ -z '' ']'
+_gitstatus_install_main:138> [ -n '' ']'
+_gitstatus_install_main:142> [ -z '' -a -e /Users/alessia_amitrano/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus/usrbin/gitstatusd ']'
+_gitstatus_install_main:145> [ -n '' ']'
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line=''
+_gitstatus_install_main:163> [ -n '' ']'
+_gitstatus_install_main:163> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line=''
+_gitstatus_install_main:163> [ -n '' ']'
+_gitstatus_install_main:163> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line=''
+_gitstatus_install_main:163> [ -n '' ']'
+_gitstatus_install_main:163> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line=''
+_gitstatus_install_main:163> [ -n '' ']'
+_gitstatus_install_main:163> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line=''
+_gitstatus_install_main:163> [ -n '' ']'
+_gitstatus_install_main:163> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line=''
+_gitstatus_install_main:163> [ -n '' ']'
+_gitstatus_install_main:163> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line=''
+_gitstatus_install_main:163> [ -n '' ']'
+_gitstatus_install_main:163> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line=''
+_gitstatus_install_main:163> [ -n '' ']'
+_gitstatus_install_main:163> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line=''
+_gitstatus_install_main:163> [ -n '' ']'
+_gitstatus_install_main:163> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line=''
+_gitstatus_install_main:163> [ -n '' ']'
+_gitstatus_install_main:163> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line='uname_s_glob="cygwin_nt-10.0"; uname_m_glob="i686";    file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.4"; sha256="5a8a809dcebdb6aa9b47d37e086c0485424a9d9c136770eec3c26cedf5bb75e3";'
+_gitstatus_install_main:163> [ -n 'uname_s_glob="cygwin_nt-10.0"; uname_m_glob="i686";    file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.4"; sha256="5a8a809dcebdb6aa9b47d37e086c0485424a9d9c136770eec3c26cedf5bb75e3";' ']'
+_gitstatus_install_main:165> local uname_s_glob='' uname_m_glob='' file='' version='' sha256=''
+_gitstatus_install_main:166> eval 'uname_s_glob="cygwin_nt-10.0"; uname_m_glob="i686";    file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.4"; sha256="5a8a809dcebdb6aa9b47d37e086c0485424a9d9c136770eec3c26cedf5bb75e3";'
+_gitstatus_install_main:166> uname_s_glob=cygwin_nt-10.0
+_gitstatus_install_main:166> uname_m_glob=i686
+_gitstatus_install_main:166> file=gitstatusd-darwin-arm64
+_gitstatus_install_main:166> version=v1.5.4
+_gitstatus_install_main:166> sha256=5a8a809dcebdb6aa9b47d37e086c0485424a9d9c136770eec3c26cedf5bb75e3
+_gitstatus_install_main:168> [ -z cygwin_nt-10.0 -o -z i686 -o -z gitstatusd-darwin-arm64 -o -z v1.5.4 -o -z 5a8a809dcebdb6aa9b47d37e086c0485424a9d9c136770eec3c26cedf5bb75e3 ']'
+_gitstatus_install_main:177> case darwin (cygwin_nt-10.0)
+_gitstatus_install_main:177> case darwin (*)
+_gitstatus_install_main:179> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line='uname_s_glob="cygwin_nt-10.0"; uname_m_glob="x86_64";  file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="c84cade0d6b86e04c27a6055f45851f6b46d6b88ba58772f7ca8ef4d295c800f";'
+_gitstatus_install_main:163> [ -n 'uname_s_glob="cygwin_nt-10.0"; uname_m_glob="x86_64";  file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="c84cade0d6b86e04c27a6055f45851f6b46d6b88ba58772f7ca8ef4d295c800f";' ']'
+_gitstatus_install_main:165> local uname_s_glob='' uname_m_glob='' file='' version='' sha256=''
+_gitstatus_install_main:166> eval 'uname_s_glob="cygwin_nt-10.0"; uname_m_glob="x86_64";  file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="c84cade0d6b86e04c27a6055f45851f6b46d6b88ba58772f7ca8ef4d295c800f";'
+_gitstatus_install_main:166> uname_s_glob=cygwin_nt-10.0
+_gitstatus_install_main:166> uname_m_glob=x86_64
+_gitstatus_install_main:166> file=gitstatusd-darwin-arm64
+_gitstatus_install_main:166> version=v1.5.1
+_gitstatus_install_main:166> sha256=c84cade0d6b86e04c27a6055f45851f6b46d6b88ba58772f7ca8ef4d295c800f
+_gitstatus_install_main:168> [ -z cygwin_nt-10.0 -o -z x86_64 -o -z gitstatusd-darwin-arm64 -o -z v1.5.1 -o -z c84cade0d6b86e04c27a6055f45851f6b46d6b88ba58772f7ca8ef4d295c800f ']'
+_gitstatus_install_main:177> case darwin (cygwin_nt-10.0)
+_gitstatus_install_main:177> case darwin (*)
+_gitstatus_install_main:179> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line='uname_s_glob="darwin";         uname_m_glob="arm64";   file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.4"; sha256="eae979e990ca37c56ee39fadd0c3f392cbbd0c6bdfb9a603010be60d9e48910a";'
+_gitstatus_install_main:163> [ -n 'uname_s_glob="darwin";         uname_m_glob="arm64";   file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.4"; sha256="eae979e990ca37c56ee39fadd0c3f392cbbd0c6bdfb9a603010be60d9e48910a";' ']'
+_gitstatus_install_main:165> local uname_s_glob='' uname_m_glob='' file='' version='' sha256=''
+_gitstatus_install_main:166> eval 'uname_s_glob="darwin";         uname_m_glob="arm64";   file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.4"; sha256="eae979e990ca37c56ee39fadd0c3f392cbbd0c6bdfb9a603010be60d9e48910a";'
+_gitstatus_install_main:166> uname_s_glob=darwin
+_gitstatus_install_main:166> uname_m_glob=arm64
+_gitstatus_install_main:166> file=gitstatusd-darwin-arm64
+_gitstatus_install_main:166> version=v1.5.4
+_gitstatus_install_main:166> sha256=eae979e990ca37c56ee39fadd0c3f392cbbd0c6bdfb9a603010be60d9e48910a
+_gitstatus_install_main:168> [ -z darwin -o -z arm64 -o -z gitstatusd-darwin-arm64 -o -z v1.5.4 -o -z eae979e990ca37c56ee39fadd0c3f392cbbd0c6bdfb9a603010be60d9e48910a ']'
+_gitstatus_install_main:177> case darwin (darwin)
+_gitstatus_install_main:181> case arm64 (arm64)
+_gitstatus_install_main:188> [ -z '' ']'
+_gitstatus_install_main:190> local daemon=/Users/alessia_amitrano/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus/usrbin/gitstatusd-darwin-arm64
+_gitstatus_install_main:191> [ ! -e /Users/alessia_amitrano/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus/usrbin/gitstatusd-darwin-arm64 ']'
+_gitstatus_install_main:192> daemon=/Users/alessia_amitrano/.cache/gitstatus/gitstatusd-darwin-arm64
+_gitstatus_install_main:193> [ -e /Users/alessia_amitrano/.cache/gitstatus/gitstatusd-darwin-arm64 ']'
+_gitstatus_install_main:193> daemon=''
+_gitstatus_install_main:195> [ -n '' ']'
+_gitstatus_install_main:203> [ -n '' ']'
+_gitstatus_install_main:208> local daemon=/Users/alessia_amitrano/.cache/gitstatus/gitstatusd-darwin-arm64
+_gitstatus_install_main:210> [ -n '' ']'
+_gitstatus_install_main:214> [ ! -d /Users/alessia_amitrano/.cache/gitstatus ']'
+_gitstatus_install_main:214> [ ! -w /Users/alessia_amitrano/.cache/gitstatus ']'
+_gitstatus_install_main:237> [ -n /var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T/ -a '(' '(' -d /var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T/ -a -w /var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T/ ')' -o ! '(' -d /tmp -a -w /tmp ')' ')' ']'
+_gitstatus_install_main:238> local tmp=/var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T/
+_gitstatus_install_main:242> command -v mktemp
+_gitstatus_install_main:243> tmpdir=+_gitstatus_install_main:243> mktemp -d /var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T//gitstatus-install.XXXXXXXXXX
+_gitstatus_install_main:243> tmpdir=/var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T//gitstatus-install.Hd8sfwuZl5
+_gitstatus_install_main:268> command -v curl
+_gitstatus_install_main:325> local url1=https://github.com/romkatv/gitstatus/releases/download/v1.5.4/gitstatusd-darwin-arm64.tar.gz
+_gitstatus_install_main:326> local url2=https://gitee.com/romkatv/gitstatus/raw/release-v1.5.4/release/gitstatusd-darwin-arm64.tar.gz
+_gitstatus_install_main:327> local sig='INT QUIT TERM ILL PIPE'
+_gitstatus_install_main:363> local trapped=''
+_gitstatus_install_main:364> trap 'trapped=1' INT QUIT TERM ILL PIPE
+_gitstatus_install_main:365> fetch 1 https://github.com/romkatv/gitstatus/releases/download/v1.5.4/gitstatusd-darwin-arm64.tar.gz
+_gitstatus_install_main:366> local pid1=23795
+fetch:1> [ 1 '!=' 1 ']'
+fetch:7> local cmd part url ret
+fetch:8> cmd=curl -kfsSL
+fetch:9> part=0
+fetch:10> true
+fetch:11> [ 0 '=' 2 ']'
+fetch:14> [ 0 '=' 0 ']'
+fetch:15> url=https://github.com/romkatv/gitstatus/releases/download/v1.5.4/gitstatusd-darwin-arm64.tar.gz
+_gitstatus_install_main:367> fetch 2 https://gitee.com/romkatv/gitstatus/raw/release-v1.5.4/release/gitstatusd-darwin-arm64.tar.gz
+_gitstatus_install_main:368> local pid2=23796
+fetch:1> [ 2 '!=' 1 ']'
+fetch:19> run_cmd curl -kfsSL -- https://github.com/romkatv/gitstatus/releases/download/v1.5.4/gitstatusd-darwin-arm64.tar.gz
+_gitstatus_install_main:370> local die='trap - INT QUIT TERM ILL PIPE; kill -- 23795 23796 2>/dev/null; wait -- 23795 23796 2>/dev/null; exit 1'
+_gitstatus_install_main:371> trap 'trap - INT QUIT TERM ILL PIPE; kill -- 23795 23796 2>/dev/null; wait -- 23795 23796 2>/dev/null; exit 1' INT QUIT TERM ILL PIPE
+_gitstatus_install_main:372> [ -z '' ']'
+fetch:1> command -v sleep
+_gitstatus_install_main:374> local n=''
+_gitstatus_install_main:375> true
+run_cmd:1> command -v curl
+_gitstatus_install_main:376> [ -z 'printf '\''\001'\'' >&15' ']'
+fetch:2> run_cmd sleep 2
+_gitstatus_install_main:376> eval 'printf '\''\001'\'' >&15'
+_gitstatus_install_main:376> printf '\001'
+run_cmd:2> local trapped='' pid die ret
+run_cmd:3> trap 'trapped=1' INT QUIT TERM ILL PIPE
+run_cmd:1> command -v sleep
+_gitstatus_install_main:377> command -v sleep
+run_cmd:2> local trapped='' pid die ret
+run_cmd:3> trap 'trapped=1' INT QUIT TERM ILL PIPE
+run_cmd:7> ret=0
+run_cmd:8> [ 0 '=' 0 ']'
+run_cmd:9> pid=23797
+run_cmd:10> die='trap - INT QUIT TERM ILL PIPE; kill -- 23797 2>/dev/null; wait -- 23797 2>/dev/null; exit 1'
+run_cmd:11> trap 'trap - INT QUIT TERM ILL PIPE; kill -- 23797 2>/dev/null; wait -- 23797 2>/dev/null; exit 1' INT QUIT TERM ILL PIPE
+run_cmd:6> curl -kfsSL -- https://github.com/romkatv/gitstatus/releases/download/v1.5.4/gitstatusd-darwin-arm64.tar.gz
+run_cmd:12> [ -z '' ']'
+_gitstatus_install_main:378> sleep 1
+run_cmd:7> ret=0
+run_cmd:8> [ 0 '=' 0 ']'
+run_cmd:9> pid=23799
+run_cmd:10> die='trap - INT QUIT TERM ILL PIPE; kill -- 23799 2>/dev/null; wait -- 23799 2>/dev/null; exit 1'
+run_cmd:11> trap 'trap - INT QUIT TERM ILL PIPE; kill -- 23799 2>/dev/null; wait -- 23799 2>/dev/null; exit 1' INT QUIT TERM ILL PIPE
+run_cmd:13> wait -- 23797
+run_cmd:12> [ -z '' ']'
+run_cmd:6> sleep 2
+run_cmd:13> wait -- 23799
+run_cmd:14> ret=0
+run_cmd:16> trap - INT QUIT TERM ILL PIPE
+run_cmd:17> [ -z '' ']'
+run_cmd:18> return 0
+fetch:20> ret=0
+fetch:21> [ 0 '=' 0 ']'
+fetch:22> check_sha256 1
+check_sha256:1> local data_file=/var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T//gitstatus-install.Hd8sfwuZl5/1.tar.gz
+check_sha256:2> local hash_file=/var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T//gitstatus-install.Hd8sfwuZl5/1.tar.gz.sha256
+check_sha256:3> local hash=''
+check_sha256:5> command -v shasum
+check_sha256:6> run_cmd shasum -b -a 256 -- /var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T//gitstatus-install.Hd8sfwuZl5/1.tar.gz
+run_cmd:1> command -v shasum
+run_cmd:2> local trapped='' pid die ret
+run_cmd:3> trap 'trapped=1' INT QUIT TERM ILL PIPE
+run_cmd:7> ret=0
+run_cmd:8> [ 0 '=' 0 ']'
+run_cmd:9> pid=23801
+run_cmd:10> die='trap - INT QUIT TERM ILL PIPE; kill -- 23801 2>/dev/null; wait -- 23801 2>/dev/null; exit 1'
+run_cmd:6> shasum -b -a 256 -- /var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T//gitstatus-install.Hd8sfwuZl5/1.tar.gz
+run_cmd:11> trap 'trap - INT QUIT TERM ILL PIPE; kill -- 23801 2>/dev/null; wait -- 23801 2>/dev/null; exit 1' INT QUIT TERM ILL PIPE
+run_cmd:12> [ -z '' ']'
+run_cmd:13> wait -- 23801
+run_cmd:14> ret=0
+run_cmd:16> trap - INT QUIT TERM ILL PIPE
+run_cmd:17> [ -z '' ']'
+run_cmd:18> return 0
+check_sha256:7> IFS='' +check_sha256:7> read -r hash
+check_sha256:8> hash=eae979e990ca37c56ee39fadd0c3f392cbbd0c6bdfb9a603010be60d9e48910a
+check_sha256:9> [ 64 -eq 64 ']'
+check_sha256:27> [ 1 '=' 1 -a -z eae979e990ca37c56ee39fadd0c3f392cbbd0c6bdfb9a603010be60d9e48910a -o eae979e990ca37c56ee39fadd0c3f392cbbd0c6bdfb9a603010be60d9e48910a '=' eae979e990ca37c56ee39fadd0c3f392cbbd0c6bdfb9a603010be60d9e48910a ']'
+fetch:22> break
+fetch:25> [ 0 '=' 0 ']'
+fetch:25> break
+fetch:30> echo -n
+fetch:31> return 0
+_gitstatus_install_main:382> [ -n 23795 -a -e /var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T//gitstatus-install.Hd8sfwuZl5/1.status ']'
+_gitstatus_install_main:383> wait -- 23795
+_gitstatus_install_main:384> local ret=0
+_gitstatus_install_main:385> pid1=''
+_gitstatus_install_main:386> [ 0 '=' 0 ']'
+_gitstatus_install_main:387> [ -n 23796 ']'
+_gitstatus_install_main:388> kill -- 23796
+run_cmd:13> trap - INT QUIT TERM ILL PIPE
+_gitstatus_install_main:389> wait -- 23796
+run_cmd:13> kill -- 23799
+run_cmd:13> wait -- 23799
+run_cmd:13> exit 1
+_p9k_worker_cleanup:2> emulate -L zsh
+_p9k_worker_cleanup:3> [[ 23720 == 23796 ]]
+_p9k_worker_cleanup:4> return 0
+_gitstatus_install_main:391> n=1
+_gitstatus_install_main:392> break
+_gitstatus_install_main:419> trap - INT QUIT TERM ILL PIPE
+_gitstatus_install_main:421> [ -z 1 ']'
+_gitstatus_install_main:431> tar -C /var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T//gitstatus-install.Hd8sfwuZl5 -xzf /var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T//gitstatus-install.Hd8sfwuZl5/1.tar.gz
+_gitstatus_install_main:433> local tmpfile
+_gitstatus_install_main:434> command -v mktemp
+_gitstatus_install_main:435> tmpfile=+_gitstatus_install_main:435> mktemp /Users/alessia_amitrano/.cache/gitstatus/gitstatusd.XXXXXXXXXX
+_gitstatus_install_main:435> tmpfile=/Users/alessia_amitrano/.cache/gitstatus/gitstatusd.364K6r5Biy
+_gitstatus_install_main:439> mv -f -- /var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T//gitstatus-install.Hd8sfwuZl5/gitstatusd-darwin-arm64 /Users/alessia_amitrano/.cache/gitstatus/gitstatusd.364K6r5Biy
+_gitstatus_install_main:440> mv -f -- /Users/alessia_amitrano/.cache/gitstatus/gitstatusd.364K6r5Biy /Users/alessia_amitrano/.cache/gitstatus/gitstatusd-darwin-arm64
+_gitstatus_install_main:440> exit
+_p9k_worker_cleanup:2> emulate -L zsh
+_p9k_worker_cleanup:3> [[ 23720 == 23794 ]]
+_p9k_worker_cleanup:4> return 0
+_gitstatus_install_main:447> local ret=0
+_gitstatus_install_main:448> rm -rf -- /var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T//gitstatus-install.Hd8sfwuZl5
+_gitstatus_install_main:449> [ 0 '=' 0 ']'
+_gitstatus_install_main:451> _gitstatus_install_daemon_found 1 _gitstatus_set_daemon_p9k_
+_gitstatus_install_daemon_found:1> local installed=1
+_gitstatus_install_daemon_found:2> shift
+_gitstatus_install_daemon_found:3> [ 1 '=' 0 ']'
+_gitstatus_install_daemon_found:3> _gitstatus_set_daemon_p9k_ /Users/alessia_amitrano/.cache/gitstatus/gitstatusd-darwin-arm64 v1.5.4 1
+_gitstatus_set_daemon_p9k_:1> _gitstatus_zsh_daemon=/Users/alessia_amitrano/.cache/gitstatus/gitstatusd-darwin-arm64
+_gitstatus_set_daemon_p9k_:2> _gitstatus_zsh_version=v1.5.4
+_gitstatus_set_daemon_p9k_:3> _gitstatus_zsh_downloaded=1
+_gitstatus_install_main:452> return
+_gitstatus_daemon_p9k_:49> [[ -n /Users/alessia_amitrano/.cache/gitstatus/gitstatusd-darwin-arm64 ]]
+_gitstatus_daemon_p9k_:50> [[ -n v1.5.4 ]]
+_gitstatus_daemon_p9k_:51> [[ 1 == [01] ]]
+_gitstatus_daemon_p9k_:53> ((  UID == EUID  ))
+_gitstatus_daemon_p9k_:54> local home=/Users/alessia_amitrano
+_gitstatus_daemon_p9k_:62> [[ -x /Users/alessia_amitrano/.cache/gitstatus/gitstatusd-darwin-arm64 ]]
+_gitstatus_daemon_p9k_:63> HOME=/Users/alessia_amitrano /Users/alessia_amitrano/.cache/gitstatus/gitstatusd-darwin-arm64 -G v1.5.4 -s -1 -u -1 -d -1 -c -1 -m -1 -v DEBUG -t 24
_gitstatus_daemon_p9k_:63: permission denied: /Users/alessia_amitrano/.cache/gitstatus/gitstatusd-darwin-arm64
+_gitstatus_daemon_p9k_:64> local -i ret=126
+_gitstatus_daemon_p9k_:65> [[ 126 == (0|129|130|131|137|141|143|159) ]]
+_gitstatus_daemon_p9k_:68> ((  ! _gitstatus_zsh_downloaded  ))
+_gitstatus_daemon_p9k_:68> return
+_gitstatus_daemon_p9k_:84> local -i ret=1
+_gitstatus_daemon_p9k_:85> zf_rm -f -- /private/var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T/gitstatus.POWERLEVEL9K.1906036736.23720.1693415964.1.lock /private/var/folders/y6/dx0040_n0nd_xvgjwbqv0bqnrsqm00/T/gitstatus.POWERLEVEL9K.1906036736.23720.1693415964.1.fifo
+_gitstatus_daemon_p9k_:86> kill -- -23787

System information:

zsh:      5.9
uname -a: Darwin 31838.gnm.int 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul  5 22:21:53 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6020 arm64`
alessiaAmitrano commented 1 year ago

Closing this as it was a problem with my laptop's permissions