diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-12-13 16:51:29 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-12-13 16:51:29 +0100 |
commit | 77cd142cbfceda8d4fe644acff46b7f8a3463e9e (patch) | |
tree | bb53483c102c5728b1ccbc5add11b1d09a4b991c /qutebrowser/.local/share | |
parent | 264b48ff259714217ed0c056a99d038dde872249 (diff) |
Add zsh aliases
Diffstat (limited to 'qutebrowser/.local/share')
-rwxr-xr-x | qutebrowser/.local/share/qutebrowser/userscripts/quickmarks | 2 | ||||
-rwxr-xr-x | qutebrowser/.local/share/qutebrowser/userscripts/tabs | 2 |
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 |