nicksp / dotfiles

My personal dotfiles: Zsh, Git, VSCode, WezTerm, etc.
https://github.com/nicksp/dotfiles
MIT License
349 stars 94 forks source link

The install script fails with: #2

Closed josephfinlayson closed 5 months ago

josephfinlayson commented 7 years ago

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

amitzur commented 7 years ago

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
johnypony3 commented 7 years ago

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
zenahirsch commented 7 years ago

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
JosNun commented 7 years ago

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
Larchy commented 7 years ago

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

angeliski commented 7 years ago

Had the same issue... Any progress?

vitorreis commented 7 years ago

same issue here 😞

tconroy commented 4 years ago

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