tmux: Write prompt history to XDG_DATA
This commit is contained in:
@@ -2,6 +2,10 @@ set -g default-terminal "tmux-256color"
|
|||||||
set -g mouse on
|
set -g mouse on
|
||||||
set -g mode-keys vi
|
set -g mode-keys vi
|
||||||
|
|
||||||
|
set -g prompt-history-limit 999999
|
||||||
|
set -g history-file "$XDG_DATA_HOME/tmux/tmux_history"
|
||||||
|
run-shell 'mkdir -p "${XDG_DATA_HOME:-$HOME/.local/share}/tmux"'
|
||||||
|
|
||||||
# Better clipboard on mousedrag (https://unix.stackexchange.com/a/349020)
|
# Better clipboard on mousedrag (https://unix.stackexchange.com/a/349020)
|
||||||
# Disable xterm escape sequences for setting clipboard
|
# Disable xterm escape sequences for setting clipboard
|
||||||
set -s set-clipboard off
|
set -s set-clipboard off
|
||||||
|
|||||||
Reference in New Issue
Block a user