aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/frsync
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-12-15 17:37:46 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-12-15 17:37:46 +0300
commitf2867678d72e1a0a345122c5c6ff6d898feb5bf1 (patch)
tree3dd096a8130ecfcc11e03758cf476c5b86cd0f27 /dotfiles/.local/bin/frsync
parent2a8c8343d48b30ef0b497b2a13bedbcdd9077529 (diff)
downloadswayrice-f2867678d72e1a0a345122c5c6ff6d898feb5bf1.tar.gz
swayrice-f2867678d72e1a0a345122c5c6ff6d898feb5bf1.zip
Smol fixes
it (mod) files opened with mpv. frsync grep regex.
Diffstat (limited to 'dotfiles/.local/bin/frsync')
-rwxr-xr-xdotfiles/.local/bin/frsync2
1 files changed, 1 insertions, 1 deletions
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