On Thu, Oct 15, 2009 at 6:12 AM, the jimmybot <[email protected]> wrote: [...] > Second, my question: There is an enhanced "shell" or interpreter for the > Python programming language called IPython. It is interesting, it shares > some similarities to fish in that it provides by default very nice > completions and easy access to documentation and source, among other > features. In addition, it has a very nifty bookmarking feature for creating > shortcuts to directories that you use often. You can take a look at the > syntax for bookmarking here: > > http://ipython.scipy.org/doc/rel-0.9.1/html/interactive/reference.html > (Search for bookmark) > > Is there similar functionality in fish that I have missed? Or is there a > system or recommendation that other fish users use that they would like to > share?
No. Fish allows you to search for words in history by substring. This allows you to type, for example, cd long<Up> Assuming that the last occurrence of "long" in an executed command was in the word "my/long/directory/name", the current command line will be replaced by: cd my/long/directory/name This is interactive and works with any type of file, but requires that the file be converted to absolute path. In many cases, it would be easier to be able to refer to files without worrying about context of relative paths; that is if fish expanded file names used in commands to their absolute paths before saving them in history. Of course, you can write a bookmark function that works on any file, but it still requires that you remember to save the bookmark explicitly. And maybe it should be interactive, i.e. it should show where the it's going to cd before it cd's. Regards, Philip ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
