set CDPATH $CDPATH ~/Documents/Projects

Now just cd TAB.


On Tue, Jul 30, 2013 at 4:20 PM, Zitao Xiong <caoer...@gmail.com> wrote:

> thanks.
>
> it works.
>
> just figured out that if you need to exclude files form tab selection
> list. you can use
>
>
> function f
>   cd "$argv"
> end
>
> complete --exclusive --command f --arguments '(__fish_complete_directories
> ~/src/)'
>
> thanks for the help!
>
> Zitao
>
>
> On Tue, Jul 30, 2013 at 4:21 AM, Stestagg <stest...@gmail.com> wrote:
>
>> Hi
>>
>> yes, sorry, I had badly quoted the variable in the function.  This should
>> be better:
>>
>> p> function p
>>        cd "~/src/$argv"
>>    end
>>
>> Note: in this example, and for the completion above, I'm using ~/src/
>> instead of your folder, because I don't have ~/Documents/Projects/
>>
>> Thanks
>>
>> Steve
>>
>>
>
>
> ------------------------------------------------------------------------------
> Get your SQL database under version control now!
> Version control is standard for application code, but databases havent
> caught up. So what steps can you take to put your SQL databases under
> version control? Why should you start doing it? Read more to find out.
> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
>
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to