Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customisation #1628

Closed
nomasprime opened this issue Feb 25, 2013 · 2 comments
Closed

Customisation #1628

nomasprime opened this issue Feb 25, 2013 · 2 comments

Comments

@nomasprime
Copy link

I'm a bit confused about the difference between the "Customize to your needs..." line in the template .zshrc and placing scripts in the custom directory. Where should I put customisations, i.e., what's the difference between these two locations?

Atm I just want to alias ls -l functions to gls so I can use --group-directories-first, currently doing this in custom/aliases.zsh. Is this the convention?

@padde
Copy link

padde commented Mar 10, 2013

I'd say just put it where it feels like. Oh-my-zsh gives you a lot of options, for example you could as well place your customizations in an external directory outside of ~/.oh-my-zsh. I like to do the latter because this way i can put oh-my-zsh and my own custom stuff both under version control. So it's really up to you where you put your stuff, the only important thing is that you know where it is.

My suggestion is: as long as you're not concerned with version control, just put it in your ~/.zshrc. When you feel it gets bloated, move stuff into separate files in the custom directory. If you want version control use an external directory, for example ZSH_CUSTOM=~/.dotfiles/zsh/custom/.

@mcornella
Copy link
Member

Hi @habitullence, @ncanceill just reworded the template .zshrc file, see if it is clearer and please close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants