-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.fish
47 lines (39 loc) · 1.67 KB
/
config.fish
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
set -x LC_ALL en_US.UTF-8
set -x LC_CTYPE en_US.UTF-8
set PATH /usr/local/sbin $PATH
[ -d /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin ]; and set PATH /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin $PATH
set -gx TERM xterm-16color;
# Fish git prompt
set __fish_git_prompt_showdirtystate 'yes'
set __fish_git_prompt_showstashstate 'yes'
set __fish_git_prompt_showuntrackedfiles 'yes'
set __fish_git_prompt_showupstream 'yes'
set __fish_git_prompt_color_branch yellow
set __fish_git_prompt_color_upstream_ahead green
set __fish_git_prompt_color_upstream_behind red
set fish_color_command brblack
# Status Chars
set __fish_git_prompt_char_dirtystate '⚡ '
set __fish_git_prompt_char_stagedstate '→'
set __fish_git_prompt_char_untrackedfiles '…'
set __fish_git_prompt_char_stashstate '↩'
set __fish_git_prompt_char_upstream_ahead '+'
set __fish_git_prompt_char_upstream_behind '-'
# Autojump
[ -f /usr/local/share/autojump/autojump.fish ]; and . /usr/local/share/autojump/autojump.fish
# Anaconda
[ -d /usr/local/anaconda3/bin ]; and set PATH /usr/local/anaconda3/bin $PATH
source ~/.config/fish/functions/conda.fish
# nVidia CUDA
[ -d /Developer/NVIDIA/CUDA-9.0/bin ]; and set PATH /Developer/NVIDIA/CUDA-9.0/bin $PATH
[ -d /Developer/NVIDIA/CUDA-9.0/lib ]; and set DYLD_LIBRARY_PATH /Developer/NVIDIA/CUDA-9.0/lib $DYLD_LIBRARY_PATH
# Theano
[ -d /Developer/NVIDIA/CUDA-9.0 ]; set CUDA_ROOT /Developer/NVIDIA/CUDA-9.0
test -e {$HOME}/.iterm2_shell_integration.fish ; and source {$HOME}/.iterm2_shell_integration.fish
switch (uname)
case Darwin
# Command Timer
set fish_command_timer_time_format '%H:%M'
case '*'
set fish_command_timer_enabled 0
end