Closed croaky closed 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
If we wanted to do this, is the right way to add it to dotfiles this?
echo 'export PATH=$HOME/bin:$PATH' >> ~/.zprofile
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
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.
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
.
I use ~/bin
as well.
I use ~/.bin
, for the reason Prem gives above.
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
Cool. I've opened #28 to do this.
What do we think about a convention of
~/bin
or some other directory name that contains individual files for scripts?