-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.fish
More file actions
40 lines (34 loc) · 1.23 KB
/
config.fish
File metadata and controls
40 lines (34 loc) · 1.23 KB
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
if which byobu-launcher > /dev/null ^ /dev/null
status --is-login; and status --is-interactive; and exec byobu-launcher
end
if test -d ~/.local/bin
if not echo $fish_user_paths | grep "$HOME/\.local/bin" > /dev/null ^ /dev/null
# If you've got it, use it!
set --universal fish_user_paths $fish_user_paths ~/.local/bin
end
end
if test -d /usr/local/bin
if not echo $fish_user_paths | grep "/usr/local/bin" > /dev/null ^ /dev/null
# If you've got it, use it!
set --universal fish_user_paths $fish_user_paths /usr/local/bin
end
end
if test -d ~/.nodebrew/current/bin
if not echo $fish_user_paths | grep "$HOME/\.nodebrew/current/bin" > /dev/null ^ /dev/null
# If you've got it, use it!
set --universal fish_user_paths $fish_user_paths ~/.nodebrew/current/bin
end
end
# If you `brew install Caskroom/cask/mactex`
if test -d /usr/texbin
if not echo $fish_user_paths | grep "/usr/texbin" > /dev/null ^ /dev/null
# If you've got it, use it!
set --universal fish_user_paths $fish_user_paths /usr/texbin
end
end
if test -e ~/.config/fish/functions/autofish.fish
autofish
end
if test -e ~/.config/fish/functions/Godsay.fish
alias fish_greeting Godsay
end