mirror of
https://github.com/bgrolleman/dotfiles.git
synced 2026-11-08 15:50:29 +01:00
Small updates
This commit is contained in:
1 parent
acb5f00f64
commit
5ecacb5d28
2 files changed
+19
-11
No files matched your search
@@ -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