diff --git a/misc/userscripts/open_download b/misc/userscripts/open_download index 7ca19a19f..54c9d3e97 100755 --- a/misc/userscripts/open_download +++ b/misc/userscripts/open_download @@ -1,4 +1,4 @@ -#!/usr/bin/env bash -e +#!/usr/bin/env bash # Both standalone script and qutebrowser userscript that opens a rofi menu with # all files from the download director and opens the selected file. It works # both as a userscript and a standalone script that is called from outside of @@ -18,6 +18,8 @@ # Thorsten Wißmann, 2015 (thorsten` on freenode) # Any feedback is welcome! +set -e + # open a file from the download directory using rofi DOWNLOAD_DIR=${DOWNLOAD_DIR:-$QUTE_DOWNLOAD_DIR} DOWNLOAD_DIR=${DOWNLOAD_DIR:-$HOME/Downloads} diff --git a/misc/userscripts/password_fill b/misc/userscripts/password_fill index 49fba5c7c..165493380 100755 --- a/misc/userscripts/password_fill +++ b/misc/userscripts/password_fill @@ -1,4 +1,4 @@ -#!/usr/bin/env bash -e +#!/usr/bin/env bash help() { blink=$'\e[1;31m' reset=$'\e[0m' cat <&2 <