about summary refs log tree commit diff stats
path: root/hm/soispha/conf/lf/commands/scripts/chmod
blob: f2cc0dc8d3fa6d1207246d9c1ad9c7bf9c2b3f23 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /usr/bin/env dash

# shellcheck source=/dev/null
SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH

readp "Mode bits: " bits

while read -r file; do
    chmod "$bits" "$file"
done < "$(tmp echo "$fx")"

lf -remote 'send reload'
# vim: ft=sh