Trying to set up ~/bin directory
Hello all,
I'm trying set up my local bin directory like I have it in Ubuntu, so I can store my scripts that allow me to run them like regular bash commands. I've look around the forums and google and feel more confused. I've upgraded to Mavericks and am not sure which file to make my edits to. /etc/paths, /etc/paths.d, /etc/bashrc, ...
In Ubuntu all I had to do was edit my ~/.bashrc file with the following :
export PATH=$PATH:/home/myUserName/bin
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
It would be a pain to put all of my scripts in /bin folder and chmod o+w myScript.sh. I also feel like that is bad practice. Any help would be greatly appreciated.
Thanks
-E
MacBook Air (13-inch Mid 2011), OS X Mavericks (10.9)