Skip to content

Commit

Permalink
doc: updated how to unset an environment variable in tmux
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelLarkin committed Jun 17, 2024
1 parent 674c644 commit d6678b0
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions docs/tmux.md
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>`

0 comments on commit d6678b0

Please sign in to comment.