diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-01-12 00:32:20 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-01-12 00:32:20 +0900 |
| commit | b99619c2d4af2f9a4c37997a155783e784000c67 (patch) | |
| tree | 398a4c86d81082da0e362709e4a249f0402c58f0 /ar/.config | |
| parent | 21fc9a25c360146a43bcc10520e68916f5698cc3 (diff) | |
modified lf/lfrc
Diffstat (limited to 'ar/.config')
| -rw-r--r-- | ar/.config/lf/lfrc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ar/.config/lf/lfrc b/ar/.config/lf/lfrc index 0d866eb..becd52c 100644 --- a/ar/.config/lf/lfrc +++ b/ar/.config/lf/lfrc @@ -110,6 +110,10 @@ cmd mkdir %{{ cmd touch %{{ IFS=" " file="$*" + case "$file" in + /*) ;; + *) file="$PWD/$file" ;; + esac dir="${file%/*}" [ "$dir" != "$file" ] && mkdir -p -- "$dir" touch -- "$file" |
