Skip to content
Snippets Groups Projects
Commit e3ee4590 authored by Jason A. Donenfeld's avatar Jason A. Donenfeld
Browse files

base64: better justification

parent 58f972ef
No related branches found
No related tags found
No related merge requests found
......@@ -136,9 +136,9 @@ check_sneaky_paths() {
#
clip() {
# This base64 business is a disgusting hack to deal with newline inconsistancies
# in shell. There must be a better way to deal with this, but because I'm a dolt,
# we're going with this for now.
# This base64 business is because bash cannot store binary data in a shell
# variable. Specifically, it cannot store nulls nor (non-trivally) store
# trailing new lines.
local sleep_argv0="password store sleep on display $DISPLAY"
pkill -f "^$sleep_argv0" 2>/dev/null && sleep 0.5
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment