Commit Graph

4 Commits (d1d2ec1ec5d03330be34512bddc30a64546e4b29)

Author SHA1 Message Date
nirenjan d1d2ec1ec5 Reformat smartwd indentation to compy with Ruby coding guidelines 2013-04-12 15:07:39 -07:00
nirenjan f962d96980 Fix smartwd script to ensure that it always works
With Ruby version 1.8.5, the smartwd script would abort with an error that
the shift method would take no arguments. Therefore, I have restricted the
use of the script to ruby version 1.8.7 and above.

On older versions, it will simply behave the same as \w in PS1 of bash.
2013-02-19 15:14:12 -08:00
nirenjan 3520ba84b6 Fix smartwd script and update PS1 in bashrc.common 2013-02-14 14:11:12 -08:00
nirenjan 8cf3f6d25b Add smartwd script - WIP 2013-02-14 10:57:42 -08:00