mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-12-22 17:57:40 +00:00
Add paths for fish
This commit is contained in:
parent
b91d29c4f0
commit
780920827e
34
assets/default/fish/custom/paths.load
Normal file
34
assets/default/fish/custom/paths.load
Normal file
@ -0,0 +1,34 @@
|
||||
set det_os "unknown"
|
||||
|
||||
switch (uname)
|
||||
case "Darwin"
|
||||
set det_os "mac"
|
||||
case "Linux"
|
||||
set det_os "linux"
|
||||
case '*'
|
||||
set det_os "unknown"
|
||||
end
|
||||
|
||||
# opt directory
|
||||
set -gx PATH /opt/local/bin /opt/local/sbin $PATH
|
||||
|
||||
# Android SDK
|
||||
if [ $det_os == "linux" ]
|
||||
set android_sdk $HOME/workspace/adt-bundle-linux/sdk
|
||||
|
||||
set -gx GOROOT /usr/local/go
|
||||
set -gx PATH $PATH $GOROOT/bin
|
||||
else if [ $det_os == "mac" ]
|
||||
set android_sdk $HOME/workspace/android-sdk-macosx
|
||||
# set PATH $HOME/Library/Python/2.7/bin $PATH
|
||||
end
|
||||
|
||||
set -gx ANDROID_HOME $android_sdk
|
||||
set -gx PATH $PATH $android_sdk/platform-tools $android_sdk/tools
|
||||
|
||||
export PATH $HOME/bin $PATH
|
||||
|
||||
#[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
|
||||
|
||||
# Increase memory sizes for java using Ant
|
||||
set -gx ANT_OPTS "-Xmx2048m -Xms512m"
|
Loading…
Reference in New Issue
Block a user