Download:
child 52:17b5c2356d70
parent 50:55673692e5cf
51:8edd66f923ca
Anton Shestakov <engored@ya.ru>, Thu, 04 Sep 2014 16:09:14 +0900
"Root" prompt session.

4 файлов изменено, 5 вставок(+), 3 удалений(-) [+]
docs/make-screenshots.sh file | annotate | diff | comparison | revisions
docs/prompt-session-exit.sh file | annotate | diff | comparison | revisions
docs/prompt-session-root.sh file | annotate | diff | comparison | revisions
docs/prompt-session-venv.sh file | annotate | diff | comparison | revisions
--- 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
--- 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
--- /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
--- 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