Timeline for cd to a directory by typing its name?
Current License: CC BY-SA 3.0
26 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 3, 2017 at 18:04 | comment | added | Michael Durrant | 2017 ran into this again. And again got stuck on old version. @user495470 removed my screeshot which would have really helped me. I don't care what 'should' happen. As is this answer leads me stuck every time I rediscover it. | |
Jul 27, 2014 at 14:23 | vote | accept | Michael Durrant | ||
Jan 2, 2014 at 21:12 | comment | added | Lri |
If /bin is before /usr/local/bin on the path, bash --version is like /bin/bash --version . Try echo $BASH_VERSION instead. Did you add shopt -s autocd to ~/.bash_profile or ~/.bashrc ?
|
|
Jan 2, 2014 at 21:11 | history | edited | Lri | CC BY-SA 3.0 |
added 373 characters in body
|
Dec 30, 2013 at 14:01 | comment | added | Michael Durrant |
Tried again to use newer bash but even running /usr/local/bin/bash and then bash --version says 3.2.51(1) after a brew install bash saying 4.2.45 already installed
|
|
Nov 25, 2013 at 11:54 | history | rollback | mmmmmm |
Rollback to Revision 7
|
|
Nov 25, 2013 at 11:14 | history | edited | Lri | CC BY-SA 3.0 |
deleted 107 characters in body
|
Nov 24, 2013 at 21:38 | comment | added | Michael Durrant | [unaccept] This doesn't work for a new mac I am setting up. | |
Apr 23, 2013 at 16:40 | history | edited | Lri | CC BY-SA 3.0 |
deleted 29 characters in body
|
Jul 12, 2012 at 4:56 | comment | added | Lri |
@MichaelDurrant I removed the screenshot from the answer since both Terminal and iTerm 2 should default to opening a login shell. If the default shell is /usr/bin/local/bash without --login , .bash_profile isn't loaded.
|
|
Jul 12, 2012 at 4:32 | history | edited | Lri | CC BY-SA 3.0 |
deleted 73 characters in body
|
Jul 12, 2012 at 4:27 | history | edited | Lri | CC BY-SA 3.0 |
deleted 207 characters in body
|
Jul 12, 2012 at 3:07 | comment | added | Michael Durrant | Although it doesn't work in tmux and it also doesn't show my PS1 (?) prompt with directory and username | |
Jul 12, 2012 at 1:58 | history | edited | bmike♦ | CC BY-SA 3.0 |
The system tags edits automatically for us so you don't need to call it out in the main body
|
S Jul 12, 2012 at 1:57 | history | suggested | Michael Durrant | CC BY-SA 3.0 |
Useful screenprint, as it was a bit hard to know where tp c hange this.
|
Jul 11, 2012 at 22:57 | vote | accept | Michael Durrant | ||
Nov 24, 2013 at 21:38 | |||||
Jul 11, 2012 at 22:57 | comment | added | Michael Durrant | Accepted plus I added a screenprint of where to change that. | |
Jul 11, 2012 at 22:56 | review | Suggested edits | |||
S Jul 12, 2012 at 1:57 | |||||
Jul 10, 2012 at 12:02 | comment | added | Lri |
@MichaelDurrant Is your terminal application set to open with something like /usr/bin/login or login -fp $USER in the preferences?
|
|
Jul 10, 2012 at 2:53 | comment | added | Michael Durrant | it works if i run the command directly /usr/local/bin/bash - i get v4.2 but how do I make that my default shell for a new window? | |
Jul 9, 2012 at 4:44 | comment | added | Lri |
@MichaelDurrant I edited the answer. bash -version would be the first version on $PATH. Did you try echo $BASH_VERSION ?
|
|
Jul 9, 2012 at 4:41 | history | edited | Lri | CC BY-SA 3.0 |
added 72 characters in body
|
Jul 9, 2012 at 2:51 | comment | added | Michael Durrant | I did the above. I ended up with bash 4.2.29 and I made the changes to /etc/shells and did the cssh but no joy | |
Jul 8, 2012 at 18:26 | vote | accept | Michael Durrant | ||
Jul 9, 2012 at 2:49 | |||||
Jul 3, 2012 at 17:39 | comment | added | ephsmith |
Great answer. Bash 4 is also available in MacPorts:subbing sudo port install bash into your step 1 works as well.
|
|
Jul 3, 2012 at 17:00 | history | answered | Lri | CC BY-SA 3.0 |