From ba65bd9ab7fe6f7fc45e56796df8190567fd4bea Mon Sep 17 00:00:00 2001 From: Peter Date: Mon, 22 Feb 2021 18:21:43 +0000 Subject: Search all yml files during sessionexec --- .config/fish/config.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/fish') diff --git a/.config/fish/config.fish b/.config/fish/config.fish index b7a1125..1b67b7d 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -41,7 +41,7 @@ function mergeinto; rsync --progress --remove-source-files -av "$argv[1]" "$argv function sudo; if test "$argv" = !!; eval command sudo $history[1]; else; command sudo $argv; end; end function vat; math "$argv + ($argv * 0.2)"; end function ytsearch; mpv "ytdl://ytsearch:\"$argv\""; end -function sessionexec; grep -i "$argv[1]" "$XDG_DATA_HOME/qutebrowser/sessions/default.yml" | awk '/url/ {print $2}' | xargs "$argv[2]"; end +function sessionexec; grep -i "$argv[1]" "$XDG_DATA_HOME/qutebrowser/sessions/*.yml" | awk '/url/ {print $2}' | xargs "$argv[2]"; end function split; ffmpeg -i "$argv[1]" -ss "$argv[2]:00" -to "$argv[3]:00" -c copy split-$argv[1]; end # Rclone config symlink -- cgit v1.2.3