From: Iain Patterson Date: Fri, 31 Aug 2007 08:10:21 +0000 (+0000) Subject: Added failsafe prompt macro. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=3a11bc25290fb2806df6acab021ab9ddc3453ac1;p=profile.git Added failsafe prompt macro. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@69 6be0d1a5-5cfe-0310-89b6-964be062b18b --- diff --git a/.xbindkeys/prompt b/.xbindkeys/prompt new file mode 100755 index 0000000..bfcc0a2 --- /dev/null +++ b/.xbindkeys/prompt @@ -0,0 +1,9 @@ +#!/bin/bash + +cat << EOF | xmacroplay $DISPLAY &>/dev/null +KeyStrRelease Alt_L +KeyStrRelease Super_L +KeyStr Escape +String iexport PS1='\u@\h:\w\$ '; set -o vi +KeyStr Return +EOF