summaryrefslogtreecommitdiff
path: root/qutebrowser/.local/share
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-12-13 16:51:29 +0100
committerUrbain Vaes <urbain@vaes.uk>2018-12-13 16:51:29 +0100
commit77cd142cbfceda8d4fe644acff46b7f8a3463e9e (patch)
treebb53483c102c5728b1ccbc5add11b1d09a4b991c /qutebrowser/.local/share
parent264b48ff259714217ed0c056a99d038dde872249 (diff)
Add zsh aliases
Diffstat (limited to 'qutebrowser/.local/share')
-rwxr-xr-xqutebrowser/.local/share/qutebrowser/userscripts/quickmarks2
-rwxr-xr-xqutebrowser/.local/share/qutebrowser/userscripts/tabs2
2 files changed, 2 insertions, 2 deletions
diff --git a/qutebrowser/.local/share/qutebrowser/userscripts/quickmarks b/qutebrowser/.local/share/qutebrowser/userscripts/quickmarks
index a55b23b..9f6acf1 100755
--- a/qutebrowser/.local/share/qutebrowser/userscripts/quickmarks
+++ b/qutebrowser/.local/share/qutebrowser/userscripts/quickmarks
@@ -2,7 +2,7 @@
if [ -n "$1" ]
then
- echo "open $(echo $1 | awk '{print $NF}')" >> $QUTE_FIFO
+ echo "open $(echo "$1" | awk '{print $NF}')" >> "$QUTE_FIFO"
exit;
fi
diff --git a/qutebrowser/.local/share/qutebrowser/userscripts/tabs b/qutebrowser/.local/share/qutebrowser/userscripts/tabs
index 7f9e226..c5a5538 100755
--- a/qutebrowser/.local/share/qutebrowser/userscripts/tabs
+++ b/qutebrowser/.local/share/qutebrowser/userscripts/tabs
@@ -7,7 +7,7 @@ if [ -n "$1" ]
then
selected_id=$(echo "$tabs" | grep "$@" | sed 's/^.*window":\([0-9]*\).*$/\1/')
i3-msg "[id=$selected_id] focus" > /dev/null 2>&1
- exit;
+ exit
fi
# Sanitized List of tabs