From f2867678d72e1a0a345122c5c6ff6d898feb5bf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Wed, 15 Dec 2021 17:37:46 +0300 Subject: Smol fixes it (mod) files opened with mpv. frsync grep regex. --- dotfiles/.local/bin/frsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dotfiles/.local/bin') diff --git a/dotfiles/.local/bin/frsync b/dotfiles/.local/bin/frsync index f61defc..d524569 100755 --- a/dotfiles/.local/bin/frsync +++ b/dotfiles/.local/bin/frsync @@ -16,7 +16,7 @@ else target="$2" fi -l=$(grep "$target" $HOME/.config/frsync.conf) +l=$(grep "^$target" $HOME/.config/frsync.conf) [ -z "$l" ] && echo "No such target $target" && exit 1 -- cgit v1.2.3