about summary refs log tree commit diff
path: root/fish/config.fish
blob: b47d60adb4c4f8e22d6fbb1fd148b4f7bbd744ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
function fish_prompt
    set_color magenta
    echo -n (vcprompt -f "(%s:%b%a%m)")
    set_color cyan
    echo -n '> '
end

function fish_right_prompt
   set_color --bold yellow
   echo -n '['
   set_color --bold blue
   echo -n (prompt_pwd)
   set_color --bold yellow
   echo -n ']'
end

set -gx EDITOR emacsclient
set -gx ALTERNATE_EDITOR emacs
set -gx VISUAL emacsclient

set fish_greeting ""

set PATH /usr/local/bin ~/Library/Haskell/bin ~/bin/ /Users/vincent/Source/management-scripts/google-apps/ $PATH