summary refs log tree commit diff
path: root/home/.local/bin/sup
blob: 33b268c887c16dbc35f80a134a72613ea02ff678 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh
set -e -u

dir=$(mktemp -d)
screencapture -i "$dir/capture.png"
type pngo > /dev/null && pngo "$dir/capture.png"
up "$dir/capture.png"
rm -r "$dir"
oe 2018-08-18Run {,s,t}up with /bin/shJune McEnroe 2018-08-18Use whence instead of typeJune McEnroe type is an alias for whence -v and is more for human consumption. 2018-08-18Cut off path components until right prompt fitsJune McEnroe Keeps paths valid (from somehwere) rather than abrupt truncation. 2018-08-17Add "private" alias to source encrypted fileJune McEnroe Why is there no easy way to *edit* an encrypted file? 2018-08-17Add vim mapping to add a #includeJune McEnroe