--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/make-screenshots.sh Thu Sep 04 03:33:16 2014 +0900
+command -v import &>/dev/null || { echo "this needs imagemagick's import command"; exit 1; }
+cd "$(dirname "${BASH_SOURCE[0]}")"
+for what in 'exit' venv hg git ; do
+ grep -v '^\s*\(#\|$\)' "./prompt-session-${what}.sh" | bash -i
+ import -window $WINDOWID "./prompt-${what}.png"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/prompt-session-exit.sh Thu Sep 04 03:33:16 2014 +0900
+# paste this into an interactive shell
+kill -INT "$$" # the same as ^C
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/prompt-session-venv.sh Thu Sep 04 03:33:16 2014 +0900
+# paste this into an interactive shell
+cd "$(mktemp -d)" && virtualenv venv && cd venv