Permalink
Browse files

Add gemdir function.

  • Loading branch information...
1 parent 23d3021 commit 665544afe43f641309faeba35a694f136d3723e9 @judy committed Jan 6, 2014
Showing with 9 additions and 1 deletion.
  1. +8 −0 config.fish
  2. +1 −1 fishd.68a86d025fd6
View
@@ -1,4 +1,5 @@
. ~/.config/fish/autojump.fish
+. ~/.config/fish/functions/rvm.fish
# Common aliases
alias vi="vim"
@@ -35,3 +36,10 @@ end
function simpleserver
ruby -run -e httpd . -p 5000
end
+
+function gemdir
+ cd (rvm gemdir)/gems
+ pwd
+end
+
+eval (direnv hook fish)
View
@@ -18,7 +18,7 @@ SET fish_color_quote:brown
SET fish_color_redirection:normal
SET fish_color_search_match:\x2d\x2dbackground\x3dpurple
SET fish_color_valid_path:\x2d\x2dunderline
-SET fish_greeting:\x1d
+SET fish_greeting:Welcome\x20to\x20fish\x2c\x20the\x20friendly\x20interactive\x20shell\x0aType\x20\x1b\x5b32mhelp\x1b\x5b30m\x1b\x28B\x1b\x5bm\x20for\x20instructions\x20on\x20how\x20to\x20use\x20fish
SET fish_key_bindings:fish\x5fdefault\x5fkey\x5fbindings
SET fish_pager_color_completion:normal
SET fish_pager_color_description:555\x1eyellow

0 comments on commit 665544a

Please sign in to comment.