Recommend $HOME but not tilde ~ for custom variables

This commit is contained in:
laggardkernel 2019-05-21 15:10:53 +08:00
parent 98710ae26c
commit 33aec478cd

View file

@ -67,9 +67,12 @@ Keybindings could be customized with
Besides, logging locations could be customized as well.
set -g @logging-path "~" # default $HOME
set -g @screen-capture-path "~"
set -g @save-complete-history-path "~"
set -g @logging-path "$HOME"
set -g @screen-capture-path "$HOME"
set -g @save-complete-history-path "$HOME"
**NOTE**: `$HOME` but not tilde `~` is recommended because `~` may not be expanded correctly
in the shell script once it's quoted as `"~"`.
### Installation with [Tmux Plugin Manager](https://github.com/tmux-plugins/tpm) (recommended)
@ -100,7 +103,7 @@ You should now have all `tmux-logging` key bindings defined.
### Installing `ansifilter` (recommended for OSX users)
If you're on OSX, it is recommeneded to install `ansifilter`:
If you're on OSX, it is recommended to install `ansifilter`:
`$ brew install ansifilter`
[ansifilter](http://www.andre-simon.de/doku/ansifilter/en/ansifilter.php)