Closed hoshsadiq closed 5 years ago
I'm using zsh with oh-my-zsh and when I try to source the .phpswitchrc file, it doesn't want to source it getting this error: /home/hosh/.phpswitch/.phpswitchrc:164: bad pattern: precmd_functions=(omz_termsupport_precmd
.phpswitchrc
Looking at the .phpswitchrc:
161: [ $(echo $SHELL | grep bash) ] && export PROMPT_COMMAND="phpswitch_dir" 162: if [ $(echo $SHELL | grep zsh) ] 163: then 164: export precmd_functions=($precmd_functions phpswitch_dir) 165: fi 166: export _PHPSWITCH_ASK=0
Any ideas how I can get this to run?
I'm using zsh with oh-my-zsh and when I try to source the
.phpswitchrc
file, it doesn't want to source it getting this error: /home/hosh/.phpswitch/.phpswitchrc:164: bad pattern: precmd_functions=(omz_termsupport_precmdLooking at the
.phpswitchrc
:Any ideas how I can get this to run?