mirror of
https://github.com/fmap/muflax65ngodyewp.onion
synced 2024-06-29 10:36:48 +02:00
21 lines
469 B
Bash
Executable file
21 lines
469 B
Bash
Executable file
#!/bin/zsh
|
|
# Copyright muflax <mail@muflax.com>, 2012
|
|
# License: GNU GPL 3 <http://www.gnu.org/copyleft/gpl.html>
|
|
|
|
if [[ -z $1 ]]; then
|
|
echo "usage: $0 site"
|
|
exit 1
|
|
fi
|
|
|
|
# start a screen session and set up basic tools
|
|
screen -dmS nanoc nanoc -s $1 view
|
|
screen -S nanoc -X screen -t watch 1 nanoc -s 1 watch
|
|
screen -S nanoc -X screen -t mc 2 zsh -c mc
|
|
screen -S nanoc -X screen 3 zsh
|
|
|
|
# basic emacs session
|
|
emacs-gui Rules
|
|
|
|
# switch to screen session
|
|
screen -r nanoc
|