merge dotfiles and add machine specific config

This commit is contained in:
Johannes Knopp
2025-03-27 14:49:33 +01:00
parent 0899054aef
commit 5145f60ed5
6 changed files with 29 additions and 12 deletions

View File

@ -121,4 +121,6 @@ export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
. "$HOME/.local/bin/env"
if [[ -n "$MACHINE_TYPE" && -f "$HOME/dotfiles/zsh/hosts/$MACHINE_TYPE.zsh" ]]; then
source "$HOME/dotfiles/zsh/hosts/$MACHINE_TYPE.zsh"
fi

7
zsh/hosts/personal.zsh Normal file
View File

@ -0,0 +1,7 @@
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
export ANDROID_HOME=/home/johannes/Android/Sdk
export PATH=$HOME/.local/bin:$PATH
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/platform-tools

1
zsh/hosts/work.zsh Normal file
View File

@ -0,0 +1 @@
. "$HOME/.local/bin/env"