dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

The install script fails with:

Open josephfinlayson opened this issue 8 years ago • 8 comments

Changing access permissions for binary script :: weasel ln: /Users/jfinlays/.oh-my-zsh/themes: No such file or directory /Users/jfinlays/.zshrc: line 30: ${(k)dirs_to_prepend[@]}: bad substitution /Users/jfinlays/.zshrc: line 43: /Users/jfinlays/z/z.sh: No such file or directory

josephfinlayson avatar Jan 04 '17 14:01 josephfinlayson

Hi, anyone has any idea on this? I'm on Sierra. After removing this error (by deleting (k)) I get:

/Users/amit/.shell_aliases: line 193: ${EDITOR} ${$(cd -P $(dirname $0) && cd ..; pwd -P)}: bad substitution
/Users/amit/.shell_config: line 6: setopt: command not found
/Users/amit/.shell_config: line 7: setopt: command not found
/Users/amit/.shell_config: line 8: unsetopt: command not found
/Users/amit/.shell_config: line 11: setopt: command not found
/Users/amit/.oh-my-zsh/oh-my-zsh.sh: line 12: autoload: command not found
/Users/amit/.oh-my-zsh/oh-my-zsh.sh: line 31: syntax error near unexpected token `('
/Users/amit/.oh-my-zsh/oh-my-zsh.sh: line 31: `for config_file ($ZSH/lib/*.zsh); do'
/Users/amit/.zshrc: line 105: fortune: command not found
/Users/amit/.zshrc: line 105: ponysay: command not found

amitzur avatar Feb 28 '17 22:02 amitzur

getting this also:

.zshrc: line 30: ${(k)dirs_to_prepend[@]}: bad substitution
.zshrc: line 43: z/z.sh: No such file or directory
.shell_aliases: line 193: ${EDITOR} ${$(cd -P $(dirname $0) && cd ..; pwd -P)}: bad substitution
.shell_config: line 6: setopt: command not found
.shell_config: line 7: setopt: command not found
.shell_config: line 8: unsetopt: command not found
.shell_config: line 11: setopt: command not found
.oh-my-zsh/oh-my-zsh.sh: line 12: autoload: command not found
.oh-my-zsh/oh-my-zsh.sh: line 31: syntax error near unexpected token `('
.oh-my-zsh/oh-my-zsh.sh: line 31: `for config_file ($ZSH/lib/*.zsh); do'
.zshrc: line 103: fortune: command not found
.zshrc: line 103: ponysay: command not found

johnypony3 avatar Mar 17 '17 22:03 johnypony3

I am having the same issue:

/Users/zenahirsch/.zshrc: line 30: ${(k)dirs_to_prepend[@]}: bad substitution
/Users/zenahirsch/.zshrc: line 43: /Users/zenahirsch/z/z.sh: No such file or directory
/Users/zenahirsch/.shell_aliases: line 193: ${EDITOR} ${$(cd -P $(dirname $0) && cd ..; pwd -P)}: bad substitution
/Users/zenahirsch/.shell_config: line 6: setopt: command not found
/Users/zenahirsch/.shell_config: line 7: setopt: command not found
/Users/zenahirsch/.shell_config: line 8: unsetopt: command not found
/Users/zenahirsch/.shell_config: line 11: setopt: command not found
/Users/zenahirsch/.oh-my-zsh/oh-my-zsh.sh: line 12: autoload: command not found
/Users/zenahirsch/.oh-my-zsh/oh-my-zsh.sh: line 31: syntax error near unexpected token `('
/Users/zenahirsch/.oh-my-zsh/oh-my-zsh.sh: line 31: `for config_file ($ZSH/lib/*.zsh); do'
/Users/zenahirsch/.zshrc: line 103: fortune: command not found
/Users/zenahirsch/.zshrc: line 103: ponysay: command not found

zenahirsch avatar May 10 '17 13:05 zenahirsch

I am also having the same issue

/Users/josiah/.zshrc: line 30: ${(k)dirs_to_prepend[@]}: bad substitution
/Users/josiah/.zshrc: line 43: /Users/josiah/z/z.sh: No such file or directory
/Users/josiah/.shell_aliases: line 193: ${EDITOR} ${$(cd -P $(dirname $0) && cd ..; pwd -P)}: bad substitution
/Users/josiah/.shell_config: line 6: setopt: command not found
/Users/josiah/.shell_config: line 7: setopt: command not found
/Users/josiah/.shell_config: line 8: unsetopt: command not found
/Users/josiah/.shell_config: line 11: setopt: command not found
/Users/josiah/.oh-my-zsh/oh-my-zsh.sh: line 12: autoload: command not found
/Users/josiah/.oh-my-zsh/oh-my-zsh.sh: line 31: syntax error near unexpected token `('
/Users/josiah/.oh-my-zsh/oh-my-zsh.sh: line 31: `for config_file ($ZSH/lib/*.zsh); do'
/Users/josiah/.zshrc: line 103: fortune: command not found
/Users/josiah/.zshrc: line 103: ponysay: command not found

JosNun avatar May 17 '17 22:05 JosNun

Had the same issue - now stuck with a lot of messed up stuff. :)

Larchy avatar Jun 06 '17 20:06 Larchy

Had the same issue... Any progress?

angeliski avatar Jun 30 '17 12:06 angeliski

same issue here 😞

vitorreis avatar Oct 05 '17 13:10 vitorreis

Has anyone resolved this issue? I'm getting this in 2020.

tconroy avatar Nov 09 '20 19:11 tconroy