Changes to work on vps

This commit is contained in:
2025-09-22 14:05:35 +00:00
parent dbaa71b374
commit a2333aa608
4 changed files with 38 additions and 5 deletions

20
.bashrc
View File

@@ -171,22 +171,34 @@ if [[ $hostname == "arch-bepis" ]]; then
elif [[ $hostname == "bepis-laptop" ]]; then
export PATH="$PATH:/opt/nvim-linux-x86_64/bin"
export SSH_AUTH_SOCK=/home/wholteza/snap/bitwarden/current/.bitwarden-ssh-agent.sock
elif [[ $hostname == "dev1" ]]; then
export PATH="$PATH:/opt/nvim-linux-x86_64/bin"
fi
## add cargo installed binaries to PATH
export PATH="/home/wholteza/.cargo/bin:$PATH"
if [[ -d /home/wholteza/.cargo/bin ]]; then
export PATH="/home/wholteza/.cargo/bin:$PATH"
fi
## add swayprop to PATH
export PATH="/home/wholteza/.config/swayprop:$PATH"
if [[ -d /home/wholteza/.config/swayprop ]]; then
export PATH="/home/wholteza/.config/swayprop:$PATH"
fi
source /usr/share/nvm/init-nvm.sh
if [ -e /usr/share/nvm/init-nvm.sh ]; then
source /usr/share/nvm/init-nvm.sh
fi
export ompPath="$HOME/.config/oh-my-posh/theme.omp.json"
### Start oh my posh
eval "$(oh-my-posh init bash --config $ompPath)"
if [ -d "$HOME/.cargo/env" ]; then
. "$HOME/.cargo/env"
fi
### Start tmux if not already in a session
if [[ -z "$TMUX" ]]; then
tmux attach || tmux new
fi
. "$HOME/.cargo/env"