Update zsh config
1. Plugin laravel5 not found in zsh plugin list. 2. The executable command for the composer package could not be found. For example 'laravel new xxx'. The zsh composer plugin solves this problem.
This commit is contained in:
parent
27cb551a9f
commit
55b5fbaa9b
@ -1560,7 +1560,7 @@ ARG SHELL_OH_MY_ZSH_ALIASES=false
|
|||||||
USER laradock
|
USER laradock
|
||||||
RUN if [ ${SHELL_OH_MY_ZSH} = true ]; then \
|
RUN if [ ${SHELL_OH_MY_ZSH} = true ]; then \
|
||||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh) --keep-zshrc" && \
|
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh) --keep-zshrc" && \
|
||||||
sed -i -r 's/^plugins=\(.*?\)$/plugins=(laravel5)/' /home/laradock/.zshrc && \
|
sed -i -r 's/^plugins=\(.*?\)$/plugins=(laravel composer)/' /home/laradock/.zshrc && \
|
||||||
echo '\n\
|
echo '\n\
|
||||||
bindkey "^[OB" down-line-or-search\n\
|
bindkey "^[OB" down-line-or-search\n\
|
||||||
bindkey "^[OC" forward-char\n\
|
bindkey "^[OC" forward-char\n\
|
||||||
|
Loading…
Reference in New Issue
Block a user