eit-gem with fish completion!
eit-gem is a command line tool which can open a gem directory
or a Ruby file inside stdlib (actually, in $LOAD_PATH) with your
favorite editor (i.e. $EIT_EDITOR)
eit is a editor command line wrapper so that I don't have to
change my command line I used to type whenever I switched
my favorite editor. (I want to escape from TextMate)
eit-gem.fish is the fish completion script for auto-completion
in fish shell for eit-gem. I'll just show you an example to see
how useful it is:
Who wants this be a gem?
p.s. shell programming is a PITA. Did you see this in eit-gem.fish?
Shell should be multi-level, multi-level is hard.
Maybe we should use Lisp for shell programming?
or a Ruby file inside stdlib (actually, in $LOAD_PATH) with your
favorite editor (i.e. $EIT_EDITOR)
eit is a editor command line wrapper so that I don't have to
change my command line I used to type whenever I switched
my favorite editor. (I want to escape from TextMate)
eit-gem.fish is the fish completion script for auto-completion
in fish shell for eit-gem. I'll just show you an example to see
how useful it is:
17:35 ~> eit-gem ya[TAB]
yajl-ruby (Gem) yaml/dbm.rb (File) yaml/syck.rb (File)
yaml.rb (File) yaml/store.rb (File) yard (Gem)
Well, at least it's useful for me who always tries to dig into the source.Who wants this be a gem?
p.s. shell programming is a PITA. Did you see this in eit-gem.fish?
sed 's/\//\\\\\//g')\\///
Shell should be multi-level, multi-level is hard.
Maybe we should use Lisp for shell programming?
2 retries:
ruby for shell programming!
but readline is hard...
this could also be a cool reference: (not for ruby though)
http://stackoverflow.com/questions/3637668/why-are-scripting-languages-e-g-perl-python-ruby-not-suitable-as-shell-lang/3640403#3640403
all those crappy readline and readline compatibles :(
i guess we're in a state that it's not very good,
but maybe good enough for most cases... so no one
really tries to do the revolution
Post a Comment
Note: Only a member of this blog may post a comment.