From 3a11bc25290fb2806df6acab021ab9ddc3453ac1 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Fri, 31 Aug 2007 08:10:21 +0000 Subject: [PATCH] Added failsafe prompt macro. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@69 6be0d1a5-5cfe-0310-89b6-964be062b18b --- .xbindkeys/prompt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 .xbindkeys/prompt 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 -- 2.20.1