Added failsafe prompt macro.
authorIain Patterson <me@iain.cx>
Fri, 31 Aug 2007 08:10:21 +0000 (08:10 +0000)
committerIain Patterson <me@iain.cx>
Fri, 31 Aug 2007 08:10:21 +0000 (08:10 +0000)
git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@69 6be0d1a5-5cfe-0310-89b6-964be062b18b

.xbindkeys/prompt [new file with mode: 0755]

diff --git a/.xbindkeys/prompt b/.xbindkeys/prompt
new file mode 100755 (executable)
index 0000000..bfcc0a2
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+cat << EOF | xmacroplay $DISPLAY &>/dev/null
+KeyStrRelease Alt_L
+KeyStrRelease Super_L
+KeyStr Escape
+String i\bexport PS1='\u@\h:\w\$ '; set -o vi
+KeyStr Return
+EOF