From e85f13def734f01be282c2f444147afa3a08ae59 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Tue, 22 Oct 2024 18:46:14 +0200 Subject: [PATCH] zsh:alias:feh: Add `--start-at` flag I found this in feh's .desktop file and liked the idea: With `--start-at` feh will load all files from the directory of the given file and start the filelist at the given one. This of course breaks easily if I want to pass more flags before the file argument, but is easily fixed by first specifying the argument to `--start-at` and continuing with the rest. I also rarely use any flag besides the one already defined in the alias. --- .config/zsh/zshrc.d/30-alias.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/zsh/zshrc.d/30-alias.zsh b/.config/zsh/zshrc.d/30-alias.zsh index b709263..7ccc5c0 100644 --- a/.config/zsh/zshrc.d/30-alias.zsh +++ b/.config/zsh/zshrc.d/30-alias.zsh @@ -189,7 +189,7 @@ fi add_flags rm -I add_flags mkdir -p add_flags lsblk -o NAME,LABEL,FSTYPE,SIZE,FSAVAIL,MOUNTPOINT - add_flags feh --scale-down --image-bg "'#898e8c'" + add_flags feh --scale-down --image-bg "'#898e8c'" --start-at # Use multiple jobs when making add_flags make -j # Bulk renaming with (almost) all files and directly modifying the