bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: to - Bookmark file system locations in bash on POSIX-like systems


From: Pierre Gaston
Subject: Re: to - Bookmark file system locations in bash on POSIX-like systems
Date: Thu, 4 Apr 2013 12:17:45 +0300

On Thu, Apr 4, 2013 at 11:58 AM, Mara Kim <address@hidden> wrote:

> Hi Chris!
>
> Actually, this is great!  Style critique, plus runtime analysis.  Am I
> dreaming? :D
>
> I see your point regarding the use of variables to hold commands.  Using
> PATH is a much better method of handling that functionality.  And with the
> magic of vim and git  *POOF*  it's gone...
>
> What is do you mean specifically by function vs [?  Do you mean parens?  Is
> function a bash-ism?
>
> I am really only enthusiastic about the interface of 'to'.  While 'jump'
> has a faster running time, 'to' lets you move directly to subdirectories of
> your bookmark.  For example, '$ to foo/bar' moves you to the bar directory
> under the foo bookmark, with tab completion!
>
> Just to be sure: have you read the documentation of CDPATH in the manual?
 (ok it's not posix but then your script is bash only)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]