Skip to content

Commit

Permalink
tmux: avoid renaming sessions if already named
Browse files Browse the repository at this point in the history
  • Loading branch information
chris468 committed Jun 23, 2024
1 parent 526d66d commit ba61399
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

tmux display -p '#S' | grep -qE '^[0-9]+$' || exit 0

name="$(basename $(pwd))"
suffix=

Expand Down

0 comments on commit ba61399

Please sign in to comment.