mirror of
https://github.com/tildedotone/setup.git
synced 2026-01-24 12:00:20 +00:00
Fixed docs and patched bug in bash profile
This commit is contained in:
@@ -16,7 +16,7 @@ PATH="$HOME/bin:$HOME/.local/bin:$PATH"
|
||||
|
||||
[[ $- != *i* ]] && return
|
||||
if [[ -z "$TMUX" ]] ; then
|
||||
tmux has-session &> /dev/null
|
||||
tmux has-session -t "one" &> /dev/null
|
||||
if [ $? -eq 1 ]; then
|
||||
exec tmux new-session -s "one"
|
||||
exit
|
||||
|
||||
Reference in New Issue
Block a user