about summary refs log tree commit diff
path: root/fish
diff options
context:
space:
mode:
authorVincent Ambo <vincent@spotify.com>2013-06-20T11·08+0200
committerVincent Ambo <vincent@spotify.com>2013-06-20T11·08+0200
commit50b1cc1612933e656540f0a1ad48a577891528f0 (patch)
tree16ad509af9946c0da6ca0e43af86d50807f01507 /fish
parent384b4e1ec173354816ca8536bfc91407801c8970 (diff)
* Added fish config
Diffstat (limited to 'fish')
-rw-r--r--fish/config.fish12
-rw-r--r--fish/functions/runhoogle.fish5
-rw-r--r--fish/functions/runirc.fish3
3 files changed, 20 insertions, 0 deletions
diff --git a/fish/config.fish b/fish/config.fish
new file mode 100644
index 000000000000..d861f876bba5
--- /dev/null
+++ b/fish/config.fish
@@ -0,0 +1,12 @@
+function fish_prompt
+    set_color blue
+    echo -n (whoami)
+    set_color cyan
+    echo -n '@'
+    set_color magenta
+    echo -n (prompt_pwd)
+    set_color cyan
+    echo -n '> '
+end
+
+set PATH ~/Library/Haskell/bin ~/bin/ /Users/vincent/Source/management-scripts/google-apps/ $PATH
diff --git a/fish/functions/runhoogle.fish b/fish/functions/runhoogle.fish
new file mode 100644
index 000000000000..45160062e3fb
--- /dev/null
+++ b/fish/functions/runhoogle.fish
@@ -0,0 +1,5 @@
+function runhoogle
+    cd ~/.hoogle
+    screen -dm hoogle server -p 4000
+    cd -
+end
diff --git a/fish/functions/runirc.fish b/fish/functions/runirc.fish
new file mode 100644
index 000000000000..d16234268388
--- /dev/null
+++ b/fish/functions/runirc.fish
@@ -0,0 +1,3 @@
+function runirc
+    screen -S irssi irssi
+end