nix/home/program/bash/module/Chmod.nix

10 lines
128 B
Nix
Raw Normal View History

2024-04-06 03:03:58 +03:00
{ ... }: {
text = ''
# Add executable flag to file.
# Usage: x <FILES>
function x() {
chmod +x -- "''${@}"
}
'';
}