docs: Add description to resize_images function

This commit is contained in:
Dennis Schoepf 2025-02-16 13:31:13 +01:00
parent 02a26ba106
commit d515ff23fa

View file

@ -23,6 +23,11 @@
fish_greeting = "fortune -a";
ng = "nvim -c \"Neogit\"";
resize_images = ''
# Resize all JPG images in the current directory and its subdirectories
# Usage: resize_images [percentage]
# Example: resize_images 20 - resizes all images to 20% of original size
# If no percentage is provided, defaults to 40%
set -l percentage $argv[1]
if test -z "$percentage"
set percentage 40