Update dotfiles/.profile
This commit is contained in:
parent
510a009367
commit
c3eb07cc3d
1 changed files with 29 additions and 2 deletions
|
@ -231,6 +231,16 @@ if [ -f "$HOME/.cargo/env" ]; then
|
||||||
. "$HOME/.cargo/env"
|
. "$HOME/.cargo/env"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
### Homebrew
|
||||||
|
if [ -e /home/linuxbrew/.linuxbrew/bin/brew ]; then
|
||||||
|
export HOMEBREW_PREFIX="/home/linuxbrew/.linuxbrew"
|
||||||
|
export HOMEBREW_CELLAR="/home/linuxbrew/.linuxbrew/Cellar"
|
||||||
|
export HOMEBREW_REPOSITORY="/home/linuxbrew/.linuxbrew/Homebrew"
|
||||||
|
export PATH="/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin${PATH+:$PATH}"
|
||||||
|
export MANPATH="/home/linuxbrew/.linuxbrew/share/man${MANPATH+:$MANPATH}:"
|
||||||
|
export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:${INFOPATH:-}"
|
||||||
|
fi
|
||||||
|
|
||||||
if command -v brew > /dev/null; then
|
if command -v brew > /dev/null; then
|
||||||
### Go
|
### Go
|
||||||
export GOPATH="${HOME}/.local/go"
|
export GOPATH="${HOME}/.local/go"
|
||||||
|
@ -250,14 +260,30 @@ export PATH="$PATH:~/Library/Android/sdk/platform-tools"
|
||||||
export PATH="$PATH:~/Library/Android/sdk/tools/bin"
|
export PATH="$PATH:~/Library/Android/sdk/tools/bin"
|
||||||
export PATH="$PATH:~/Library/Android/sdk/tools"
|
export PATH="$PATH:~/Library/Android/sdk/tools"
|
||||||
|
|
||||||
|
### Git
|
||||||
|
export GIT_MERGE_AUTOEDIT=no
|
||||||
|
|
||||||
### gitfuzzy
|
### gitfuzzy
|
||||||
export PATH="/usr/local/src/gitfuzzy/bin:$PATH"
|
export PATH="/usr/local/src/gitfuzzy/bin:$PATH"
|
||||||
|
|
||||||
### Poetry
|
### Poetry
|
||||||
export PATH="$HOME/.poetry/bin:$PATH"
|
export POETRY_HOME="$HOME/.local/poetry"
|
||||||
|
if [ ! -d "$POETRY_HOME" ]; then
|
||||||
|
mkdir -p "$POETRY_HOME"
|
||||||
|
fi
|
||||||
|
export PATH="$POETRY_HOME/bin:$PATH"
|
||||||
|
|
||||||
|
### Ruby
|
||||||
|
export GEM_HOME="$HOME/.local/gems"
|
||||||
|
if [ ! -d "$GEM_HOME" ]; then
|
||||||
|
mkdir -p "$GEM_HOME"
|
||||||
|
fi
|
||||||
|
|
||||||
### Volta
|
### Volta
|
||||||
export VOLTA_HOME="$HOME/.volta"
|
export VOLTA_HOME="$HOME/.local/volta"
|
||||||
|
if [ ! -d "$HOME/.local/volta" ]; then
|
||||||
|
mkdir -p "$HOME/.local/volta"
|
||||||
|
fi
|
||||||
export PATH="$VOLTA_HOME/bin:$PATH"
|
export PATH="$VOLTA_HOME/bin:$PATH"
|
||||||
|
|
||||||
### SDKMan
|
### SDKMan
|
||||||
|
@ -270,4 +296,5 @@ fi
|
||||||
alias yubikey-gpg-stub='gpg-connect-agent "scd serialno" "learn --force" /bye'
|
alias yubikey-gpg-stub='gpg-connect-agent "scd serialno" "learn --force" /bye'
|
||||||
|
|
||||||
### Vagrant
|
### Vagrant
|
||||||
|
export VAGRANT_DEFAULT_PROVIDER=virtualbox
|
||||||
export VAGRANT_HOME="$HOME/.local/vagrant.d"
|
export VAGRANT_HOME="$HOME/.local/vagrant.d"
|
||||||
|
|
Loading…
Reference in a new issue