diff options
| author | ProsperousPotato <ProsperousPotato@users.noreply.github.com> | 2026-01-22 22:54:15 +0000 |
|---|---|---|
| committer | ProsperousPotato <ProsperousPotato@users.noreply.github.com> | 2026-01-22 22:54:15 +0000 |
| commit | 6e0ab9974ade9e697719107eb7c490efabcac7b3 (patch) | |
| tree | f461bf823a0cbb6444ec610139cc5c18bc845780 /st-copyout | |
| parent | 5d51b613de66ab2eb312ca4184b8f84e51ecb1fb (diff) | |
remove -vi flag for st-* scriptsmain
Diffstat (limited to 'st-copyout')
| -rwxr-xr-x | st-copyout | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,6 +10,6 @@ trap 'rm "$tmpfile"' 0 1 15 sed -n "w $tmpfile" sed -i 's/\x0//g' "$tmpfile" ps1="$(grep "\S" "$tmpfile" | tail -n 1 | sed 's/^\s*//' | cut -d' ' -f1)" -chosen="$(grep -F "$ps1" "$tmpfile" | sed '$ d' | tac | dmenu -vi -p "Copy which command's output?" -i -l 10 | sed 's/[^^]/[&]/g; s/\^/\\^/g')" +chosen="$(grep -F "$ps1" "$tmpfile" | sed '$ d' | tac | dmenu -p "Copy which command's output?" -i -l 10 | sed 's/[^^]/[&]/g; s/\^/\\^/g')" eps1="$(echo "$ps1" | sed 's/[^^]/[&]/g; s/\^/\\^/g')" awk "/^$chosen$/{p=1;print;next} p&&/$eps1/{p=0};p" "$tmpfile" | xclip -selection clipboard |
