aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-12-02 09:47:21 +0100
committerMattias Andrée <maandree@operamail.com>2013-12-02 09:47:21 +0100
commitc5c3e4cf705699c68cf26aee9964350dd87cefe8 (patch)
treec4cee8fc560d147a73df15de3669504cbfbf14a7
parentadd cerberus to gotrc examples (diff)
downloadgates-of-tartaros-c5c3e4cf705699c68cf26aee9964350dd87cefe8.tar.gz
gates-of-tartaros-c5c3e4cf705699c68cf26aee9964350dd87cefe8.tar.bz2
gates-of-tartaros-c5c3e4cf705699c68cf26aee9964350dd87cefe8.tar.xz
add module that hides the username
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--gotrc-examples/hide-username15
1 files changed, 15 insertions, 0 deletions
diff --git a/gotrc-examples/hide-username b/gotrc-examples/hide-username
new file mode 100644
index 0000000..cf959c9
--- /dev/null
+++ b/gotrc-examples/hide-username
@@ -0,0 +1,15 @@
+# -*- shell-script -*-
+
+# This module requires that got runs under GNU Bash.
+
+# This module hides the username when it is types,
+# this can be useful so that nopony can se your
+# passphrase if you type it in instead of your
+# username by mistake when you log in.
+
+
+_read ()
+{
+ read -s user
+}
+