سؤال

I need to add ~/bin directory in your path.

But I am not sure what the actual command for this is, I know it goes in my .bash_profile

Does anyone know this, or a tutorial on how to set up a new .bash_profile for a terminal on a new mac (UNIX)

هل كانت مفيدة؟

المحلول

Add this to .bash_profile:

export PATH="$PATH":~/bin

If you don't have a .bash_profile, just create it.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top