Timeline for dirs -v does not list the directory stack?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 6, 2018 at 11:48 | comment | added | Cyrus |
Yes, bash reads ~/.bashrc only if it is an interactive shell.
|
|
Jan 6, 2018 at 11:44 | history | edited | Cyrus | CC BY-SA 3.0 |
typo(s)
|
Jan 6, 2018 at 11:40 | comment | added | sdaau |
Many thanks, @Cyrus - I also found that bash -c 'dirs -v' in the aliased session will also call the proper dirs (probably because in that subshell, the ~/.bashrc would not be read at all)
|
|
Jan 6, 2018 at 11:40 | vote | accept | sdaau | ||
Jan 6, 2018 at 11:35 | history | answered | Cyrus | CC BY-SA 3.0 |