dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 06eb79ea03a6eb9459ebda44f1643758097d1b3e
parent f6dab4ebcfd1412468e8216eb47230239ed481c5
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon, 27 Jan 2020 20:09:29 +0100

Do not send upload url to clipboard

Diffstat:
M.local/bin/upload | 8+-------
1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/.local/bin/upload b/.local/bin/upload @@ -98,13 +98,7 @@ upload_file() { else printf '%s\n' "$url" fi - [ "$notify" = 1 ] && notify-send "$msg" - - if [ "$(uname)" = "Darwin" ]; then - printf '%s\n' "$url" | pbcopy - else - printf '%s\n' "$url" | xclip - fi + [ "$notify" = 1 ] && notify-send "$msg" || : } download_file() {