commit 82f6b8614f7e881646dbea34266e57bcd1790453 parent ba1b9ac70730017b7efbc18bb74d3304976c8e98 Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de> Date: Tue, 17 Dec 2019 22:19:48 +0100 Fix bug in dmenu_addressbook Remove final newline from output Diffstat:
M | bin/dmenu_addressbook | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/dmenu_addressbook b/bin/dmenu_addressbook @@ -1,3 +1,3 @@ #!/bin/sh -cat ~/.mutt/aliases.muttrc | sed '/#/d' | sed '/^[[:space:]]*$/d' | cut -d' ' -f3- | dmenu -c -p "Address book:" -l 40 -fn "Sans:size=11" -i | xdotool type --clearmodifiers --file - +cat ~/.mutt/aliases.muttrc | sed '/#/d' | sed '/^[[:space:]]*$/d' | cut -d' ' -f3- | dmenu -c -p "Address book:" -l 40 -fn "Sans:size=11" -i | sed -z '$ s/\n$//'| xdotool type --clearmodifiers --file -