tmux, nvim
This commit is contained in:
10
.bashrc
10
.bashrc
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user