-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfish-init.fish
More file actions
25 lines (22 loc) · 835 Bytes
/
fish-init.fish
File metadata and controls
25 lines (22 loc) · 835 Bytes
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
# macOS-specific configuration
if test (uname) = Darwin
# Homebrew initialization
if test -x /opt/homebrew/bin/brew
eval (/opt/homebrew/bin/brew shellenv)
else if test -x /usr/local/bin/brew
eval (/usr/local/bin/brew shellenv)
end
# https://developer.android.com/tools
# TODO: manage android studio & android sdk
set ANDROID_HOME ~/Library/Android/sdk
set PATH $PATH $ANDROID_HOME/emulator
set PATH $PATH $ANDROID_HOME/tools
set PATH $PATH $ANDROID_HOME/tools/bin
set PATH $PATH $ANDROID_HOME/platform-tools
# Sublime Text
if test -d '/Applications/Sublime Text.app/Contents/SharedSupport/bin'
set PATH $PATH '/Applications/Sublime Text.app/Contents/SharedSupport/bin'
end
end
# Ensure local bin precedes nix profile
set -g PATH $HOME/.local/bin $PATH