Skip to content
Browse files

Add one-liner simple server.

  • Loading branch information...
1 parent 803f6ac commit d06923c4f826f2ed793109694275418c7f577869 @judy committed Dec 2, 2013
Showing with 6 additions and 2 deletions.
  1. +6 −2 config.fish
View
8 config.fish
@@ -21,9 +21,13 @@ set -x PSQL_EDITOR vim
set -x PATH ~/bin /usr/local/bin /usr/local/sbin $PATH
function mkcd
- mkdir $argv; and cd $argv
+ mkdir $argv; and cd $argv
end
function fish_prompt
- ~/.config/fish/powerline-shell/powerline-shell.py $status --shell bare ^/dev/null
+ ~/.config/fish/powerline-shell/powerline-shell.py $status --shell bare ^/dev/null
+end
+
+function simpleserver
+ ruby -run -e httpd . -p 5000
end

0 comments on commit d06923c

Please sign in to comment.
Something went wrong with that request. Please try again.