ohmybash / oh-my-bash

A delightful community-driven framework for managing your bash configuration, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
https://ohmybash.github.io
MIT License
5.54k stars 626 forks source link

brutally messed up omb installation #518

Closed tokisuno closed 5 months ago

tokisuno commented 5 months ago

alright here goes nothing.

i installed omb on my main desktop, and put my .bashrc inside of my .dotfiles folder which is synced across my desktop and laptop. on my laptop i realized that i didn't have a symbolic link to my .bashrc so there was none, so i created one and then had my .bashrc all cool.

then i went to install omb and it said it couldn't create .oh-my-bash inside of my home, so i rm -rf'd it and went with the install script again.

now whenever i try to run bash it returns "$HOME/.oh-my-bash/oh-my-bash.sh no such file or dir", which was true, since i rm -rf'd it. but the install script didn't create the folder again. so i git cloned .oh-my-bash into my $HOME so now that path literally exists, except it doesn't?

[skinnyboot@skinnyboot ~]$ $HOME/.oh-my-bash/oh-my-bash.sh /home/skinnyboot/.oh-my-bash/oh-my-bash.sh: line 10: return: can only `return' from a function or sourced script /home/skinnyboot/.oh-my-bash/oh-my-bash.sh: line 30: $HOME/.oh-my-bash/tools/check_for_upgrade.sh: No such file or directory oh-my-bash (module_require): module 'lib:utils' not found. /home/skinnyboot/.oh-my-bash/oh-my-bash.sh: line 112: _omb_util_glob_expand: command not found /home/skinnyboot/.oh-my-bash/oh-my-bash.sh: line 137: _omb_util_glob_expand: command not found /home/skinnyboot/.oh-my-bash/oh-my-bash.sh: line 176: _omb_util_command_exists: command not found /home/skinnyboot/.oh-my-bash/oh-my-bash.sh: line 177: $HOME/.oh-my-bash/tools/git-prompt.sh: No such file or directory

tokisuno commented 5 months ago

closing this issue because im an idiot. my .oh-my-bash was sourced with single quotations instead of double quotations. changed it and now all is good. fml.