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

10 lines
128 B
Nix

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