forked from ltn100/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscreenrc
49 lines (39 loc) · 1.29 KB
/
screenrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# skip the startup message
startup_message off
# go to home dir
#chdir
# Change default scrollback value for new windows
defscrollback 10000
#backtick 1 60 60 $HOME/.dotfiles/scripts/get_pwd.py
# look and feel (caption = bar, hardstatus = tab)
caption always "%{= rr}%{+b W} %n %t %=%H %c "
hardstatus alwayslastline "%-Lw%{= rW}%50>%n%f* %t%{-}%+Lw%<"
rendition so =00
# Session
source "$HOME/.screen_profile"
# Example of what goes in a .screen_profile file
#chdir
#chdir Code/Terra/Davincium/Apps
#screen -t apps
#chdir
#chdir Desktop/
#screen -t desktop
#chdir
#screen -t global
# Key shortcuts
bind ',' prev
bind '.' next
#bindkey "^[Od" prev # change window with ctrl-left
#bindkey "^[Oc" next # change window with ctrl-right
bind R eval "source $HOME/.screenrc" "echo '.screenrc reloaded!'"
#termcapinfo xterm-color|xterm|xterms|xs|rxvt ti@:te@
# Make xterm scrolling work properly with screen.
#termcapinfo xterm-256color|xterm-color|xterm|xterms|xs|rxvt ti@:te@
#termcapinfo * ti@:te@
#termcapinfo $TERM ti@:te@
termcapinfo xterm|xterms|xs ti@:te=\E[2J
# shell: Default process started in screen's windows.
# Makes it possible to use a different shell inside screen
# than is set as the default login shell.
# If begins with a '-' character, the shell will be started as a login shell.
shell -$SHELL