I just updated to the most recent version of spaceship-zsh-theme (2.5.0), and on shell init I have begun to get the warning: spaceship_setup:2: command not found: add-zsh-hook and
spaceship_setup:3: command not found: add-zsh-hook.
I see that these are calls in the main spaceship.zsh file (currently line 942–943) and are related to spaceship_exec_time_preexec_hook and spaceship_exec_time_precmd_hook. I tried setting SPACESHIP_EXEC_TIME_SHOW to false in my .zshrc, but the errors still pop up.
Operating system: macOS 10.12.5
Terminal emulator: iTerm Build 3.1.20170604-nightly
ZSH version: v5.3.1 (poured via Homebrew)
.zshrcThese are the config items I have for spaceship.zsh:
export ZSH_THEME="spaceship"
SPACESHIP_DIR_TRUNC=0
SPACESHIP_PROMPT_SYMBOL="❯"
SPACESHIP_GIT_PREFIX='• '
SPACESHIP_GIT_BRANCH_SHOW=false
SPACESHIP_GIT_BRANCH_COLOR="blue"
SPACESHIP_VI_MODE_COLOR="blue"
SPACESHIP_EXEC_TIME_SHOW=false
Awesome, thank you! 👍
@maccius just update to the latest version 😉
Just did, works great! Thanks again!