1
1
Fork 0
mirror of https://github.com/tonydamage/nux-env.git synced 2025-12-11 13:24:28 +01:00
nux-env/inc/dsl/nuxfs.fix.dsl
Tony Tkacik 429a0d3258 nuxfs: Added cathegorize keyword.
Signed-off-by: Tony Tkacik <tonydamage@gmail.com>
2017-06-14 12:38:41 +02:00

13 lines
249 B
Text

.use-dsl nuxfs.apply
should-not-exists.check.failed() {
for f in "$rel_path"; do
rm -r "$f"
nux.dsl.info $f Deleted.
done
}
cathegorize.process.file() {
mv "$rel_file" "$cat_dir"
nux.dsl.info "$rel_file" Moved to $NC_White$cat_dir$NC_No
}