Add screenrc; Update domain and email

This commit is contained in:
sup39 2021-10-24 15:58:03 +09:00
parent a137182b35
commit 6ed79946da
4 changed files with 30 additions and 6 deletions

View file

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2020 sup39 <sup39hakujun@gmail.com> Copyright (c) 2020-2021 sup39 <dev@sup39.dev>
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View file

@ -8,7 +8,7 @@ source $HOME/.zshrc
Alternatively, use the shortened url: Alternatively, use the shortened url:
```zsh ```zsh
# Download setup file and execute it # Download setup file and execute it
curl -sL 301.sup39.ml/zsh-setup | sh - curl -sL link.sup39.dev/zsh-setup | sh -
# Finally, source the zshrc file # Finally, source the zshrc file
source $HOME/.zshrc source $HOME/.zshrc
@ -23,5 +23,6 @@ source $HOME/.zshrc
## Content ## Content
- `~/.zshenv` - `~/.zshenv`
- `~/.zshrc` - `~/.zshrc`
- `~/.screenrc`
:bulb: No overwriting if exists :bulb: No overwriting if exists

23
screenrc Normal file
View file

@ -0,0 +1,23 @@
altscreen on
term xterm-256color
vbell off
# status bar
## https://www.gnu.org/software/screen/manual/html_node/String-Escapes.html#String-Escapes
hardstatus alwaysfirstline "%{= Ck} %-w%{= Yk}%n %t%{-}%+w"
# mapping
## https://www.gnu.org/software/screen/manual/html_node/Default-Key-Bindings.html#Default-Key-Bindings
escape ^_^_
bind i title
bind ^I title
bind I info
bind ^S source ~/.screenrc
bind s split
bind ; colon
bind ^E colon "screen -t "
bind w focus
bind ^W focus
### disable lockscreen
bind ^X
bind x

View file

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# .zshrc baseURL="https://raw.githubusercontent.com/sup39/zsh-setup/master"
[ -f $HOME/.zshrc ] || curl https://raw.githubusercontent.com/sup39/zsh-setup/master/zshrc -o $HOME/.zshrc [ -f $HOME/.zshrc ] || curl $baseURL/zshrc -o $HOME/.zshrc
# .zshenv [ -f $HOME/.zshenv ] || curl $baseURL/zshenv -o $HOME/.zshenv
[ -f $HOME/.zshenv ] || curl https://raw.githubusercontent.com/sup39/zsh-setup/master/zshenv -o $HOME/.zshenv [ -f $HOME/.screenrc ] || curl $baseURL/screenrc -o $HOME/.screenrc