1 diff --git a/utils/awesome-client b/utils/awesome-client
2 index a125869..e99faf3 100755
3 --- a/utils/awesome-client
4 +++ b/utils/awesome-client
8 # rlwrap provides readline to stuff which doesn't know readline by itself
9 -RLWRAP=`which rlwrap 2>/dev/null`
10 +RLWRAP=$(which rlwrap 2>/dev/null)
13 if [ "$RLWRAP" != "" ]
15 @@ -10,7 +11,15 @@ then
16 A_RERUN="no" exec $RLWRAP $0
22 + READ_PARAMETERS=" -e"
28 + READ_OPTIONS="$READ_OPTIONS -p awesome# "
32 @@ -32,7 +41,7 @@ a_dbus_send()
33 $DBUS_METHOD string:"$1" | tail -n +2
36 -while read ${USE_READLINE} -r -p "awesome# " line
37 +while read ${USE_READLINE} ${READ_OPTIONS} line