thoughtbot / dotfiles

A set of vim, zsh, git, and tmux configuration files.
https://thoughtbot.com
Other
7.97k stars 1.87k forks source link

Scripts directory #25

Closed croaky closed 12 years ago

croaky commented 12 years ago

What do we think about a convention of ~/bin or some other directory name that contains individual files for scripts?

cpytel commented 12 years ago

~/bin is what I use

On May 23, 2012, at 8:38 PM, Dan Croak wrote:

What do we think about a convention of ~/bin or some other directory name that contains individual files for scripts?


Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/dotfiles/issues/25


Chad Pytel, Founder and CEO thoughtbot, inc. t: 617-482-1300 x113 f: 866-217-5992 http://www.thoughtbot.com http://www.twitter.com/thoughtbot

croaky commented 12 years ago

If we wanted to do this, is the right way to add it to dotfiles this?

echo 'export PATH=$HOME/bin:$PATH' >> ~/.zprofile
cpytel commented 12 years ago

I've always put it on the front of the path to ensure things are found to to allow me to override other programs with the same name with my own.

On May 23, 2012, at 8:58 PM, Dan Croak wrote:

If we wanted to do this, is the right way to add it to dotfiles this?

echo 'export PATH=$PATH:$HOME/bin' >> ~/.zprofile


Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/dotfiles/issues/25#issuecomment-5888435


Chad Pytel, Founder and CEO thoughtbot, inc. t: 617-482-1300 x113 f: 866-217-5992 http://www.thoughtbot.com http://www.twitter.com/thoughtbot

croaky commented 12 years ago

Makes sense.

~/.zprofile seems like a place that works. There's some nuance between it and ~/.zlogin that don't seem particularly relevant as long as we use one and not both?

An alternative approach is to just write functions right into ~/.zshrc but that doesn't seem as organized.

http://zsh.sourceforge.net/Intro/intro_3.html

sikachu commented 12 years ago

I never use ~/bin because it look strange when I'm looking at my home folder in Finder. I usually just put my bin stuff in /usr/local/bin.

home folder

jferris commented 12 years ago

I use ~/bin as well.

mike-burns commented 12 years ago

I use ~/.bin, for the reason Prem gives above.

cpytel commented 12 years ago

I'm cool with ~/.bin, let's do that then.

On Jun 29, 2012, at 6:54 AM, Mike Burns reply@reply.github.com wrote:

I use ~/.bin, for the reason Prem gives above.


Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/dotfiles/issues/25#issuecomment-6657044

mike-burns commented 12 years ago

Cool. I've opened #28 to do this.