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

11 lines
141 B
Nix

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