#!/bin/bash cat << EOF | xmacroplay -d 2 $DISPLAY &>/dev/null KeyStrRelease Alt_L KeyStrRelease Super_L KeyStr Escape KeyStrRelease I KeyStrRelease BackSpace String export PS1='\u@\h:\w\$ '; set -o vi KeyStr Return EOF