tmux, nvim

This commit is contained in:
2025-05-02 21:55:40 +02:00
parent ec0ebd2af0
commit 2dbac00ee4
10 changed files with 221 additions and 42 deletions

10
.bashrc
View File

@@ -162,7 +162,6 @@ alias edit-vim='cd ~/.config/nvim && vim .'
hostname=$(cat ~/hostname)
if [[ $hostname == "arch-bepis" ]]; then
setxkbmap se
export SSH_AUTH_SOCK=/home/wholteza/.bitwarden-ssh-agent.sock
else
export PATH="$PATH:/opt/nvim-linux-x86_64/bin"
@@ -170,7 +169,12 @@ else
fi
export PATH="/home/wholteza/.cargo/bin:$PATH"
### Start oh my posh
eval "$(oh-my-posh init bash --config '~/.config/oh-my-posh/theme.omp.json')"
source /usr/share/nvm/init-nvm.sh
export ompPath="$HOME/.config/oh-my-posh/theme.omp.json"
### Start oh my posh
eval "$(oh-my-posh init bash --config $ompPath)"
### Start tmux if not already in a session
[[ -z "$TMUX" ]] && exec tmux