1
1
Fork 0
mirror of https://github.com/tonydamage/nux-env.git synced 2025-12-11 13:24:28 +01:00
nux-env/bin/nux-env
Tony Tkacik 0a8f22df48 Added nux-env script for managing nux-env.
Signed-off-by: Tony Tkacik <tonydamage@gmail.com>
2016-11-11 20:20:20 +01:00

23 lines
433 B
Text
Executable file

#!/usr/bin/env nux-runner
### Portable *nix environment by tonydamage
## status - Show status of nux-env installation
task.status() {
echo nux-env folder: $NUX_ENV_DIR
pushd $NUX_ENV_DIR > /dev/null
git status
popd > /dev/null
}
## update - pulls latest nux-env from repository.
task.update() {
pushd $NUX_ENV_DIR > /dev/null
git stash
git pull -r
git stash pop
popd > /dev/null
}
task.install() {
:
}