dev1 changes
This commit is contained in:
10
.bashrc
10
.bashrc
@@ -116,6 +116,10 @@ if ! shopt -oq posix; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
## Modified by me
|
## 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
|
### GPG and SSH agent configurations for yubikey
|
||||||
# This is now disabled since i use bw
|
# This is now disabled since i use bw
|
||||||
#export GPG_TTY="$(tty)"
|
#export GPG_TTY="$(tty)"
|
||||||
@@ -192,13 +196,11 @@ fi
|
|||||||
export ompPath="$HOME/.config/oh-my-posh/theme.omp.json"
|
export ompPath="$HOME/.config/oh-my-posh/theme.omp.json"
|
||||||
|
|
||||||
### Start oh my posh
|
### Start oh my posh
|
||||||
|
|
||||||
eval "$(oh-my-posh init bash --config $ompPath)"
|
eval "$(oh-my-posh init bash --config $ompPath)"
|
||||||
|
|
||||||
if [ -d "$HOME/.cargo/env" ]; then
|
if [ -d "$HOME/.cargo/env" ]; then
|
||||||
. "$HOME/.cargo/env"
|
. "$HOME/.cargo/env"
|
||||||
fi
|
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