screen是一个很好的bash保存的工具,可以保存你现有的工作,网上有很多关于这个的配置,我找了一个精简了一下,个人感觉还是很不错的: #se the startup message startup_message off term linux ##use ` as the Global Key ## escape `` ##set a biger buffer defscrollback 4096 #ÉèÖÃ״̬À¸ hardstatus alwayslastline shelltitle "$|bash" hardstatus string '%{gk}%-w%{= W}%50>%n %t%{-}%+w%<' ##shutdown the noise vbell off defescape ^Jj escape ^Jj ## w to show the window list bind w windowlist -b bind ^w windowlist -b ##initial apps to run #screen #screen #screen #screen #select 0 bindkey -k k1 screen bindkey -k k2 title bindkey -k k3 monitor #bindkey -k k4 silence bindkey -k k5 colon #bindkey -k k6 split #bindkey -k k; focus bindkey -k k7 focus #bindkey -k k8 only bindkey -k k9 detach bindkey -k F1 prev bindkey -k F2 next attrcolor u "-u B" sessionname youwang autodetach on
本人用的screen的配置
最新推荐文章于 2022-03-12 11:03:20 发布