38 lines
844 B
Plaintext
38 lines
844 B
Plaintext
|
PATH="$HOME/.local/bin:$HOME/.cargo/bin:$HOME/.ghcup/bin:$HOME/.cabal/bin:$PATH"
|
||
|
|
||
|
if [ -x /opt/homebrew/bin/brew ]
|
||
|
then
|
||
|
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||
|
|
||
|
PATH="$HOMEBREW_PREFIX/opt/bison/bin:/usr/local/bin:$PATH"
|
||
|
for tool in libtool coreutils grep gnu-sed findutils make
|
||
|
do
|
||
|
PATH="$HOMEBREW_PREFIX/opt/$tool/libexec/gnubin:$PATH"
|
||
|
done
|
||
|
else
|
||
|
PATH="$HOME/Projects/lsp/flutter/bin:$PATH"
|
||
|
export SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
|
||
|
fi
|
||
|
|
||
|
if [ -d "$HOME/Android/Sdk" ]
|
||
|
then
|
||
|
export ANDROID_HOME="$HOME/Android/Sdk"
|
||
|
elif [ -d "$HOME/Library/Android/sdk" ]
|
||
|
then
|
||
|
export ANDROID_HOME="$HOME/Library/Android/sdk"
|
||
|
fi
|
||
|
|
||
|
if [ -n "$ANDROID_HOME" ]
|
||
|
then
|
||
|
# platform-tools may override system sqlite3.
|
||
|
PATH="$PATH:$ANDROID_HOME/platform-tools"
|
||
|
fi
|
||
|
|
||
|
export PATH
|
||
|
|
||
|
export GPG_TTY=$(tty)
|
||
|
export LESS="-R"
|
||
|
export EDITOR="nvim"
|
||
|
|
||
|
# vim: set ft=sh:
|