Merge branch 'main' of ssh://git.zacke.dev:222/wholteza/dotfiles
This commit is contained in:
10
.bashrc
10
.bashrc
@@ -172,9 +172,15 @@ alias edit-vim='cd ~/.config/nvim && vim .'
|
||||
hostname=$(cat ~/hostname)
|
||||
if [[ $hostname == "arch-bepis" ]]; then
|
||||
export SSH_AUTH_SOCK=/home/wholteza/.bitwarden-ssh-agent.sock
|
||||
elif [[ $hostname == "surface" ]]; then
|
||||
export SSH_AUTH_SOCK=/home/wholteza/.bitwarden-ssh-agent.sock
|
||||
elif [[ $hostname == "printer" ]]; then
|
||||
export SSH_AUTH_SOCK=/home/wholteza/.bitwarden-ssh-agent.sock
|
||||
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 == "printer" ]]; then
|
||||
export SSH_AUTH_SOCK=/home/wholteza/.bitwarden-ssh-agent.sock
|
||||
elif [[ $hostname == "dev1" ]]; then
|
||||
export PATH="$PATH:/opt/nvim-linux-x86_64/bin"
|
||||
fi
|
||||
@@ -198,10 +204,12 @@ export ompPath="$HOME/.config/oh-my-posh/theme.omp.json"
|
||||
### Start oh my posh
|
||||
|
||||
eval "$(oh-my-posh init bash --config $ompPath)"
|
||||
|
||||
eval "$(fnm env --use-on-cd --shell bash)"
|
||||
if [ -d "$HOME/.cargo/env" ]; then
|
||||
. "$HOME/.cargo/env"
|
||||
fi
|
||||
|
||||
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
export PATH=/home/$USER/.fnm:$PATH
|
||||
eval "$(fnm env --use-on-cd --version-file-strategy=recursive)"
|
||||
|
||||
Reference in New Issue
Block a user