Open kvonspiczak opened 10 years ago
bump
I think the provided installation guide could need some more work. At least for me, where as I'm a kind of noob in terminal usage. Would be nice if you could explain the installation process, or how to use the dotfiles in combination with oh-my-zsh.
Thanks in advance Kevin
@kvonspiczak Mathias uses bash, not zsh. I use zsh but I don't use oh-my-zsh so I can't help you with oh-my-zsh specifics.
Zsh won't read .bash_profile or .bashrc so you'll need to rename these to the names that oh-my-zsh expects. If you were using "plain" zsh, you should rename .bash_profile to .zshrc.
Hi and thank you for the reply,
I thought I also had to source the bootstrap.sh. Well I already have a .zshrc where I created some aliases and stuff a while ago. So basically I just run the bootstrap from terminal one time to get the newest data from the repo and then just copy the contents from .Bash_profile in my .zshrc?
You can also source .bash_profile
from .zshrc
(no need to copy to update).
sorry for reopening and being such a noob, but I try to get rid of the copied part from bash_profile in my .zshrc, so I tried webpro's suggestion and replaced it with a "source .bash_profile", which led to some error output in my terminal (guess because it's bash and not zsh). How is the correct way for using the dotfiles under oh-my-zsh?
Greets Kevin
@kvonspiczak I have learned that Bash and Zsh are incompatible in a number of areas. I'd recommend to choose and either go for Zsh (and not use Mathias's dotfiles), or Bash.
I have tried myself to be compatible with both Bash and Zsh in one dotfiles setup, but only got so far. It's just not worth the hassle in most situations (although of course YMMV). Assuming you go the Zsh route, you could start out with Oh-my-zsh and copy over things you like (and work in Zsh) from this repo.
sorry for replying so late, thought I had closed the issue already.. So there is no equivalent for this repo to be used under zsh? edit: btw I would love to see a tutorial (text or video) or some kind of guide with instruction on how to setup/how to use the dotfiles (this repo) properly. Because I really like the idea and the benefit of using this dotfiles, but lack knowledge about the whole bash world. What do you guys think? Or do you assume that people know how to use it? My problem is that I don't know where to look for the missing information I need, to be able to use the whole repository in the way it was meant to be used.
Cheers Kevin
@kvonspiczak i had the same problem. there's a nice workaround. copy or symlink your .aliases and/or .functions file in your homedir and edit the .zshrc with an editor of your choice.
add the line:
source $HOME/.aliases and/or source $HOME/.functions
save changes and reload zsh with exec zsh
the aliases should work now
cheers
@xinput this helped me out a lot!
Maybe you'd be better suited with https://github.com/sindresorhus/pure 'Pretty, minimal and fast ZSH prompt' from @sindresorhus
Hi Guys,
i'm using oh-my-zsh. I'm sorry for opening an issue here, but i can't rly get it to work without further help. I cloned your repo, ran the bootstrap.sh script. Now what i dont understand is: why can't I use the aliases for example? I thought that your dotfiles would automatically get included after i started your bootstrap script. But whenever i : source ./.aliases, it works while i leave the terminal app opened. as soon as i close it, it wont get loaded in my terminal session again. so how would i acomplish it, so that all your dotfiles get loaded automatically?
greets Kevin