dotfiles/VSCodium/User/History/-4cd8b28/Kg2p

7 lines
213 B
Plaintext
Executable File

# Display the commands on wofi
selection="$(cat ~/.histfile)"
$selection | wofi -p "Commands history" --show dmenu -i | cliphist decode | wl-copy
# Then copy the selection to the clipboard
# wl-copy "$selection"