|
From: | Mike Miller |
Subject: | [Octave-patch-tracker] [patch #8139] cd: Add Bash-like "cd -" shortcut to change to last dir from input prompt. |
Date: | Fri, 18 Oct 2013 02:48:28 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.57 Safari/537.36 |
Update of patch #8139 (project octave): Status: None => Need Info _______________________________________________________ Follow-up Comment #1: Is there a reason for only wanting to do this at the top execution level? In the unix shell it is perfectly legal to do "cd -" inside of a script or a subshell. I agree it's probably unlikely that anyone names a directory "-", but it is something to consider. I like the idea, as long as no one else is worried about potentially breaking compatibility with directories named "-". I'd prefer something like "cd: no previous directory" as the error message. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/patch/?8139> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |