mirror of
https://github.com/bgrolleman/dotfiles.git
synced 2025-12-06 05:45:24 +01:00
Small updates
This commit is contained in:
22
profile
22
profile
@@ -10,22 +10,22 @@
|
||||
|
||||
# if running bash
|
||||
if [ -n "$BASH_VERSION" ]; then
|
||||
# include .bashrc if it exists
|
||||
if [ -f "$HOME/.bashrc" ]; then
|
||||
. "$HOME/.bashrc"
|
||||
fi
|
||||
# include .bashrc if it exists
|
||||
if [ -f "$HOME/.bashrc" ]; then
|
||||
. "$HOME/.bashrc"
|
||||
fi
|
||||
fi
|
||||
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if [ -d "$HOME/bin" ] ; then
|
||||
PATH="$HOME/bin:$PATH"
|
||||
if [ -d "$HOME/bin" ]; then
|
||||
PATH="$HOME/bin:$PATH"
|
||||
fi
|
||||
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if [ -d "$HOME/.local/bin" ] ; then
|
||||
PATH="$HOME/.local/bin:$PATH"
|
||||
if [ -d "$HOME/.local/bin" ]; then
|
||||
PATH="$HOME/.local/bin:$PATH"
|
||||
fi
|
||||
|
||||
if [ -n "$PS1" ] && [ -z "$TMUX" ] && [ -z "$SSH_TTY" ] && [ -t 1 ]; then
|
||||
tmux attach-session -t main || tmux new-session -s main
|
||||
fi
|
||||
#if [ -n "$PS1" ] && [ -z "$TMUX" ] && [ -z "$SSH_TTY" ] && [ -t 1 ]; then
|
||||
# tmux attach-session -t main || tmux new-session -s main
|
||||
#fi
|
||||
|
||||
Reference in New Issue
Block a user