I'm interested! I've been toying with fish - last time i saw it was a couple of years ago and it wasn't ready for daily use then. Looks like it's really come along. I was going to say that it's still not very compelling if you're already comfortable with a decent POSIX shell, but if it kept up the rate of progress it soon might be ...
Then I figured I'd try to implement a simple custom completion in fish and it was suprisingly easy: function gemcd cd $argv[1] end function gemedit mate $argv[1] end complete -x -c gemcd -a"(__fish_complete_directories (~/gems))" complete -x -c gemedit -a"(__fish_complete_directories (~/gems))" It's both more succinct and more legible than the (well .. my) zsh equivalents, and took me maybe a quarter of the time to figure out. That's a pretty compelling argument for a longer trial period right there. And Ben - I've never claimed to not be self-indulgent ;) On Sun, Sep 13, 2009 at 10:15 PM, Bodaniel Jeanes <[email protected]> wrote: > Ben Hoskings and I will be giving a talk about Fish at the next Railscamp > (we just thought of this) if anyone is interested and we'll both be more > than willing to get anyone started with a great set of dot-files and > how-tos! > > > On Sat, Sep 12, 2009 at 2:58 PM, Ben Schwarz <[email protected]>wrote: > >> >> Dave, >> >> I think hacking on your shell is somewhat "self indulgent". Currently, >> I'm struggling to >> get time on any of my other personal crappy projects – Having said >> that, learning more >> about the fish environment is very much on my list. >> >> Fish, for those who haven't used it is far superior to bash (and some >> friends) >> in regards to user experience, less finger gymnastics. It maps well. >> >> >> >> >> On Sep 10, 7:04 pm, David Lee <[email protected]> wrote: >> > By the way, is everyone really still using bash? It's like PHP to zsh's >> ... >> > well, Perl, i guess. >> > >> > http://friedcpu.wordpress.com/2007/07/24/zsh-the-last-shell-youll-eve. >> .. >> > >> > I guess that leaves Fish as the ruby of the shell world (i.e., >> everyone's in >> > love with it's syntax, but nobody here seems to know how to make it >> scale) >> > ... >> > >> > :P >> > >> > On Thu, Sep 10, 2009 at 6:34 PM, David Lee < >> [email protected]>wrote: >> > >> > >> > >> > >> > >> > > I'm just watching from the sidelines here and haven't actually read >> any of >> > > the code (yet), but that won't stop me from throwing an uninformed >> question >> > > / idea in the ring ... >> > >> > > it's possible to set environment variables locally - and we've >> probably all >> > > done it - in the form >> > >> > > $ RAILS_ENV=test rake db:migrate >> > >> > > as distinct from >> > >> > > $ export RAILS_ENV=test; rake db:migrate >> > >> > > which sets the environment persistently. >> > >> > > Is this a helpful train of thought? >> > >> > > cheers, >> > > DL >> > >> > > On Thu, Sep 10, 2009 at 5:56 PM, Bodaniel Jeanes <[email protected]> >> wrote: >> > >> > >> well aware of that, ideally I'd like both as their are times I might >> want >> > >> to choose to run my entire system in a different version. But really >> it's a >> > >> matter of how do we get any part of RVM working with fish. I'd be >> happy with >> > >> a global switching option combined with a piece of my fish_prompt >> that told >> > >> me which version my system is currently running... >> > >> > >> On Thu, Sep 10, 2009 at 5:49 PM, Nathan de Vries <[email protected] >> >wrote: >> > >> > >>> Symlinking your desired Ruby version would provide a global switch >> -- >> > >>> the entire point of RVM is that it "allows you to use multiple >> > >>> versions of ruby in separate terminals concurrently" (straight from >> > >>> the website). >> > >> > >>> Cheers, >> > >> > >>> Nathan de Vries >> > >> > >>> On 10/09/2009, at 12:46 PM, Chris Herring wrote: >> > >>> > I don't think that is all. One of the reasons it is cool is that >> it >> > >>> > is shell specific, but that doesn't mean that it wouldn't be sweet >> > >>> > to be able to make it more global, then you could hook it into >> your >> > >>> > passenger ruby for instance and be able to test your app in the >> > >>> > browser against whichever the target version will be. >> > >> > > -- >> > > cheers, >> > > David Lee >> > >> > -- >> > cheers, >> > David Lee >> >> > > > > -- cheers, David Lee --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~----------~----~----~----~------~----~------~--~---
