From e5d665865e7cc800bb4deecd6aedcf3015e65b10 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Mon, 16 Feb 2026 02:22:00 +0100 Subject: Best effort dependency resolution Add a new check_install function that checks if a tool is installed and tries to install it on a best effort basic. Modify all scripts that benefit from it. Small indentation and correctness fixes. modified: functions/7za.fish modified: functions/alert.fish new file: functions/check_install.fish modified: functions/lscmd.fish modified: functions/rchmod.fish modified: functions/renlow.fish modified: functions/rlsxattr.fish modified: functions/rsdos.fish modified: functions/rsmac.fish modified: functions/rsxattr.fish modified: functions/uz.fish --- functions/renlow.fish | 5 ----- 1 file changed, 5 deletions(-) (limited to 'functions/renlow.fish') diff --git a/functions/renlow.fish b/functions/renlow.fish index 98b0e4c..1581550 100644 --- a/functions/renlow.fish +++ b/functions/renlow.fish @@ -1,10 +1,5 @@ function renlow --description 'Rename all files and directories with lowercase characters' -if not command -sq 'find' - echo "Can't find find." - return 1 -end - for file in (find . -type f) set -l element (string split -r -m1 / $file) mv $file $element[1]/(string lower $element[2]) -- cgit v1.3.1