Skip to content

Commit

Permalink
add tmux switch sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
colson0x1 committed Oct 18, 2024
1 parent 506693e commit 190ec8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ This package also provides configurations and command aliases for `Tmux`, `Zsh`,
| `ta [session_name]` | Attach to an existing tmux session |
| `tk [session_name]` | Kill a tmux session |
| `tr [current_session_name] [new_session_name]` | Rename existing tmux session |
| `tc [session_name]` | Switch between sessions |
| `nv` | Open Neovim in the current directory |
| `nvv` | Open Neovim with sudo privileges |
| `cl` | Clear the terminal screen |
Expand Down
2 changes: 2 additions & 0 deletions tmux/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -223,3 +223,5 @@ if [ -z "$TMUX" ] && [ -z "$TMUX_SESSION" ]; then
fi

alias ss="start-services"

alias tc="tmux switch-client -t"

0 comments on commit 190ec8e

Please sign in to comment.