Here is my configs shared. For example, tmux, totalcmd.
- copy the .tmux.confg to the user home directory
The shell can save the tmux env to file, and you can reload the env even if you shutdown.
- copy the shell script to the user bin. (for example, /usr/local/bin)
- 特别注意要根据自己本地propmt的设置,可能需要修改代码,否则达不到恢复当前目录的效果。
- 参照链接: http://brainscraps.wikia.com/wiki/Resurrecting_tmux_Sessions_After_Reboot
- copy the .gitconfg to the user home directory(~/)