fixed tmux again
This commit is contained in:
parent
2e03cfe754
commit
706f690a8e
1 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@ alias please="sudo"
|
||||||
|
|
||||||
# ─< easier dir up >────────────────────────────────────────────────────────────────────────
|
# ─< easier dir up >────────────────────────────────────────────────────────────────────────
|
||||||
alias ..="cd .."
|
alias ..="cd .."
|
||||||
|
alias ...="cd ../.."
|
||||||
|
|
||||||
# ─< colored ip >───────────────────────────────────────────────────────────────────
|
# ─< colored ip >───────────────────────────────────────────────────────────────────
|
||||||
alias ip="ip --color=always"
|
alias ip="ip --color=always"
|
||||||
|
@ -521,7 +522,7 @@ fi
|
||||||
# Tmux session manager
|
# Tmux session manager
|
||||||
if command_exists tmux; then
|
if command_exists tmux; then
|
||||||
sleep 0.01
|
sleep 0.01
|
||||||
if [ -n "$TMUX" ]; then
|
if [ -z "$TMUX" ]; then
|
||||||
sleep 0.01
|
sleep 0.01
|
||||||
# Attach to existing session if any, otherwise create one named 'main'
|
# Attach to existing session if any, otherwise create one named 'main'
|
||||||
if tmux ls &>/dev/null; then
|
if tmux ls &>/dev/null; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue