-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: updated how to unset an environment variable in tmux
- Loading branch information
1 parent
674c644
commit d6678b0
Showing
1 changed file
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,25 @@ | ||
# `tmux` | ||
|
||
## Exporting a Variable | ||
|
||
[tmux is exporting an environment variable that is no longer being exported in .bashrc](https://superuser.com/questions/1216492/tmux-is-exporting-an-environment-variable-that-is-no-longer-being-exported-in-b) | ||
``` | ||
tmux set-environment -r FZF_TMUX_OPTS | ||
|
||
```sh | ||
tmux set-environment -gru FZF_TMUX_OPTS | ||
``` | ||
|
||
## Rename a pane | ||
``` | ||
|
||
```tmux | ||
set -g pane-border-status top | ||
set -g pane-border-format " [ ###P #T ] " | ||
``` | ||
``` | ||
|
||
```tmux | ||
CTRL+b + : | ||
select-pane -T "title" | ||
``` | ||
|
||
|
||
## Sharing a Window Across Sessions | ||
|
||
To share a window between two sessions: `tmux link-window -s <src-window> -t <dst-window>` |