# HG changeset patch # User Steve Losh # Date 1286403872 14400 # Node ID aac255e065832565f6ffe26bf42c2d7fd3b57c1e # Parent 0d2e98797a8c71a0e6bb464c2ef2c377614d71e8 zsh: screeninator and remove title junk diff -r 0d2e98797a8c -r aac255e06583 .zshrc --- a/.zshrc Wed Oct 06 14:54:12 2010 -0400 +++ b/.zshrc Wed Oct 06 18:24:32 2010 -0400 @@ -40,6 +40,7 @@ # Extra shell extensions like z and tab completion for Mercurial ------------- source ~/lib/z/z.sh export VEW_PATH="$HOME/lib/python/virtualenvwrapper/virtualenvwrapper.sh" +if [[ -s $HOME/.screeninator/scripts/screeninator ]] ; then source $HOME/.screeninator/scripts/screeninator ; fi # See ------------------------------------------------------------------------ export PYTHONPATH="$HOME/lib/python/see:$PYTHONPATH" @@ -47,7 +48,6 @@ # Pre-Prompt Command --------------------------------------------------------- function precmd () { z --add "$(pwd -P)" - title zsh "$(pwd)" } # BCVI ----------------------------------------------------------------------- diff -r 0d2e98797a8c -r aac255e06583 screeninator/scripts/screeninator --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/screeninator/scripts/screeninator Wed Oct 06 18:24:32 2010 -0400 @@ -0,0 +1,1 @@ +alias start_stevelosh='screen -c /Users/sjl/.screeninator/stevelosh.screen -S stevelosh.com' \ No newline at end of file diff -r 0d2e98797a8c -r aac255e06583 screeninator/stevelosh.screen --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/screeninator/stevelosh.screen Wed Oct 06 18:24:32 2010 -0400 @@ -0,0 +1,19 @@ +startup_message off +vbell off +escape `` +autodetach on +defscrollback 10000 +hardstatus alwayslastline +hardstatus string '%{= kg}[ %{G} stevelosh.com %{g}][%= %{= kw}%?%-Lw%?%{r} (%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m/%d %{W}%c %{g}]' + +chdir "$HOME/src/stevelosh/" + + +screen -t shell 1 +stuff "wo && hg pull\012" + +screen -t server 2 +stuff "wo && hyde -w -s . -k\012" + + +select 1 \ No newline at end of file diff -r 0d2e98797a8c -r aac255e06583 screeninator/stevelosh.yml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/screeninator/stevelosh.yml Wed Oct 06 18:24:32 2010 -0400 @@ -0,0 +1,13 @@ +# ~/.screeninator/stevelosh.yml +# you can make as many tabs as you wish... + +escape: `` +project_name: stevelosh.com +project_root: $HOME/src/stevelosh/ +tabs: + - shell: + - wo + - hg pull + - server: + - wo + - hyde -w -s . -k