screen is back, for better or worse
This commit is contained in:
parent
62708b7222
commit
ba874c4714
3 changed files with 22 additions and 2 deletions
2
bashrc
2
bashrc
|
@ -144,7 +144,7 @@ alias mountnrg='sudo mount -o loop,offset=307200'
|
|||
# git
|
||||
alias gss='command git status -s'
|
||||
alias gdf='command git diff'
|
||||
alias gci='command git commit -a'
|
||||
alias gci='command git commit'
|
||||
alias gup='command git pull'
|
||||
|
||||
# tig
|
||||
|
|
20
screenrc
Normal file
20
screenrc
Normal file
|
@ -0,0 +1,20 @@
|
|||
# window title hack
|
||||
termcapinfo xterm*|rxvt*|kterm*|Eterm* 'hs:ts=\E]0;:fs=\007:ds=\E]0;\007'
|
||||
defhstatus "$USER@^EH (screen)"
|
||||
# so we don't have to enter the copy mode every time we want to scroll
|
||||
termcapinfo rxvt*|xterm* ti@:te@
|
||||
# the rest is pretty obvious
|
||||
startup_message off
|
||||
hardstatus off
|
||||
defscrollback 10000
|
||||
vbell off
|
||||
bell off
|
||||
autodetach on
|
||||
term screen-256color-bce
|
||||
defbce on
|
||||
altscreen on
|
||||
activity "activity on %n"
|
||||
caption always '%{=}%{RW} %H %{Yw} %S %{Cw} %n %{wd} %t %{Bw} %-=%W '
|
||||
bind w windowlist -b
|
||||
bindkey ^[q prev
|
||||
bindkey ^[w next
|
|
@ -43,7 +43,7 @@ set -g status-left-length "20"
|
|||
set -g status-right-length "40"
|
||||
set -g terminal-override "rxvt-unicode*:sitm@,ritm@,xterm-*:Tc"
|
||||
set -g default-terminal "screen-256color"
|
||||
set -g status-position "top"
|
||||
set -g status-position "bottom"
|
||||
set -g status-justify "centre"
|
||||
set -g status-left-length "100"
|
||||
set -g status "on"
|
||||
|
|
Loading…
Reference in a new issue