Created
June 16, 2012 02:39
-
-
Save afeijo/2939681 to your computer and use it in GitHub Desktop.
My .screenrc and .bashrc files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
startup_message off | |
vbell off | |
autodetach on | |
#escape / | |
defscrollback 5000 | |
#caption always "%{= kw}%-w%{= BW}%n %t%{-}%+w %-= %c" | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}%{C}Screen: %{c}%{= kG}[%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{C} %d-%m %{W}%c %{g}]' | |
# F5 and F6 to move one screen forward or backward | |
bindkey -k k5 prev | |
bindkey -k k6 next | |
#bind F7 to change focus | |
##bindkey -k k7 focus up | |
bindkey -k k8 hardstatus alwayslastline | |
bindkey -k k9 hardstatus alwaysignore | |
bindkey "^[Od" prev # change window with ctrl-left | |
bindkey "^[Oc" next # change window with ctrl-right | |
screen -t Bash1 1 bash | |
#split | |
#focus down | |
#screen -t htop htop | |
#split -v | |
screen -t Bash2 2 bash | |
screen -t Bash3 3 bash | |
#screen -t Bash4 4 bash | |
#screen -t log 0 tail -f /tmp/drupal_debug.txt | |
altscreen on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;36m\]\t \u@\h\[\033[00m\] \[\033[01;34m\]\w$(__git_ps1)\[\033[00m\]\$ ' | |
alias ..='cd ..' | |
alias ...='..;..' | |
alias ....='...;..' | |
alias .....='...;...' | |
alias ......='....;...' | |
alias l='ls -lah --color' | |
alias du='du -h' | |
alias df='df -h' | |
function www() { | |
cd /www/$1 | |
} | |
www |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment