Kurtis, Glenn,

Thanks for help!

Grtz,
Gert

On Sat, Jan 2, 2016 at 9:27 PM, Glenn Jackman <jack...@pythian.com> wrote:

> The `switch` command in fish does wildcard matching:
>
> switch $TMUX
>   case '*tmate*; echo tmate
>   case '*';      echo tmux
> end
>
> On Sat, Jan 2, 2016 at 8:59 AM, Gert Leenders <leenders.g...@gmail.com>
> wrote:
>
>> Hi,
>>
>> I stumbled upon a simple problem recently but i have a hard time finding
>> the right answer... :(
>> I hope someone can quickly help me out?
>>
>> We need a translation of this bash line [[ $TMUX == *'tmate'* ]] && echo
>> tmate || echo tmux
>> to Fish
>> see also:
>> https://github.com/christoomey/vim-tmux-navigator/issues/100#issuecomment-168014469
>>
>> Grtz,
>> Gert
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Fish-users mailing list
>> Fish-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/fish-users
>>
>>
>
>
> --
> *Glenn Jackman*
> Senior Software Developer
>
> *Pythian - Love your data*
> jack...@pythian.com
> Tel: +1 613 565 8696 Ext. 1478
> Mobile: +1 613 808 4984
> www.pythian.com
>
> --
>
>
>
>


-- 
Met vriendelijk groeten,
Gert Leenders
------------------------------------------------------------------------------
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to