mirror of
https://github.com/tonydamage/nux-env.git
synced 2025-12-11 13:24:28 +01:00
13 lines
267 B
Text
13 lines
267 B
Text
.use-dsl nuxfs
|
|
|
|
dir.check.recover() {
|
|
nuxfs.info "$rel_path" "Created directory";
|
|
mkdir -p "$abs_path"
|
|
}
|
|
link.check.recover() {
|
|
nuxfs.info "$rel_path" "Creating link to '$3'";
|
|
ln -s "$3" "$abs_path"
|
|
}
|
|
git.check.recover() {
|
|
$GIT_BIN clone "$3" "$abs_path"
|
|
}
|