dotfiles

My configuration files.
Log | Files | Refs | README

commit b15b3f3b262d8714614e1f257effba9c145213fb
parent 911e0e50f0b1338369f12b42b50d649efdd54bcd
Author: Sven Möller <sven-moeller@outlook.de>
Date:   Sun, 26 Dec 2021 22:01:36 +0100

Posix compliance

Diffstat:
Mbin/.local/bin/bm | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/.local/bin/bm b/bin/.local/bin/bm @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh [ -z "$selector" ] && selector=fzf @@ -77,7 +77,7 @@ interactive () { all () { actions="open\ndownload\necho\nqr\nclip" - line="$(cat -n "$BM_DIR"/{unread,favorite,archive} | "$selector")" + line="$(cat -n "$BM_DIR"/unread "$BM_DIR"/favorite "$BM_DIR"/archive | "$selector")" url="$(echo "$line" | awk '{print $2}')" if [ -z "$line" ]; then exit; fi action="$(printf "$actions" | "$selector")"