1
1
Fork 0
mirror of https://github.com/tonydamage/nux-env.git synced 2025-12-11 13:24:28 +01:00

Converted nux.cfg nux.json to nuxsh

Signed-off-by: Tony Tkacik <tonydamage@gmail.com>
This commit is contained in:
Tony Tkáčik 2020-01-01 13:16:18 +01:00
parent e148c76fbe
commit cceebef784
6 changed files with 130 additions and 264 deletions

View file

@ -1,5 +1,9 @@
#!/usr/bin/env nuxsh
@namespace nux.help. {
## nux.help.shelldoc::
## Reads input from std-in and perform terminal-based colorization based on
## shelldoc format.
function :shelldoc {
sed -r \
-e "s/^## ?(.*)/${NC_White}\1${NC_No}/gI" \