# HG changeset patch
# User Anton Shestakov <engored@ya.ru>
# Date 1409814554 -32400
# Node ID 8edd66f923cae704bc8ae54ed2539839132c1d1e
# Parent  55673692e5cfe013327fa3282a6547cbf59f5ed8
"Root" prompt session.

diff -r 55673692e5cf -r 8edd66f923ca docs/make-screenshots.sh
--- a/docs/make-screenshots.sh	Thu Sep 04 15:40:10 2014 +0900
+++ b/docs/make-screenshots.sh	Thu Sep 04 16:09:14 2014 +0900
@@ -8,7 +8,7 @@
 
 cd "$(dirname "${BASH_SOURCE[0]}")"
 
-for what in 'exit' venv hg git ; do
+for what in 'exit' venv hg git root ; do
     clear
 
     grep -v '^\s*\(#\|$\)' "./prompt-session-${what}.sh" | bash -i
diff -r 55673692e5cf -r 8edd66f923ca docs/prompt-session-exit.sh
--- a/docs/prompt-session-exit.sh	Thu Sep 04 15:40:10 2014 +0900
+++ b/docs/prompt-session-exit.sh	Thu Sep 04 16:09:14 2014 +0900
@@ -3,4 +3,3 @@
 
 kill -INT "$$" # the same as ^C
 false
-echo
diff -r 55673692e5cf -r 8edd66f923ca docs/prompt-session-root.sh
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/prompt-session-root.sh	Thu Sep 04 16:09:14 2014 +0900
@@ -0,0 +1,4 @@
+#!/bin/false
+# paste this into an interactive shell
+
+env EUID=0 bash -i
diff -r 55673692e5cf -r 8edd66f923ca docs/prompt-session-venv.sh
--- a/docs/prompt-session-venv.sh	Thu Sep 04 15:40:10 2014 +0900
+++ b/docs/prompt-session-venv.sh	Thu Sep 04 16:09:14 2014 +0900
@@ -3,4 +3,3 @@
 
 cd "$(mktemp -d)" && virtualenv venv && cd venv
 source ./bin/activate
-echo