commit ac8ae73881279d67bd8a48742bd513ab1c2d2e0e
parent dbf4ba6e4f6abbfe852f3919f98518ab429c7b2d
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 15 Oct 2020 20:59:06 +0200
Merge branch 'master' of src.adamsgaard.dk:dotfiles
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/define b/.local/bin/define
@@ -75,7 +75,7 @@ done
 prepare_history_file
 
 if [ "$gui" = 1 ]; then
-	suggestions="$(xclip -o || :; tail -r "$history_file")"
+	suggestions="$(xclip -o || :; cat "$history_file")"
 	word=$(echo "$suggestions" | dmenu -i -p "Dictionary lookup:") || exit 1
 	notify -t 10000 "define: $word" "$(define "$word" | remove_comm_msgs)"
 	exit 0