diff --git a/blue b/blue index 67d0b03..d3f803a 100755 --- a/blue +++ b/blue @@ -1,6 +1,6 @@ #!/bin/sh -RECENT=$(fish -c "history | grep -v 'grep' | grep 'bluetoothctl connect' | awk '{print \$3;}'") +RECENT=$(fish -c "history | grep -v 'grep' | grep 'bluetoothctl connect' | awk '{print \$3;}' | uniq") OPTION=$(echo "$RECENT" | cat <