dev1 changes
This commit is contained in:
10
.bashrc
10
.bashrc
@@ -116,6 +116,10 @@ if ! shopt -oq posix; then
|
||||
fi
|
||||
|
||||
## Modified by me
|
||||
### Start tmux if not already in a session
|
||||
if [[ -z "$TMUX" ]]; then
|
||||
tmux attach || tmux new
|
||||
fi
|
||||
### GPG and SSH agent configurations for yubikey
|
||||
# This is now disabled since i use bw
|
||||
#export GPG_TTY="$(tty)"
|
||||
@@ -192,13 +196,11 @@ 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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user