linux - Can tmux save commands to a file, like .bash_history? -


does tmux support saving file commands typed in "c-b :" mode ? i'd rather through ones typed have each command in man page.

there history-file option looking for.

history-file path

if not empty, file tmux write command prompt history on exit , load on start.

add .tmux.conf

set -g history-file ~/.tmux_history 

note added in 2.1 version. if have older version of tmux read https://unix.stackexchange.com/questions/26548/write-all-tmux-scrollback-to-a-file


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

mapreduce - Resource manager does not transit to active state from standby -

serialization - Convert Any type in scala to Array[Byte] and back -