Doc : Update bash.

This commit is contained in:
Dmitry Voronin 2024-03-08 22:20:44 +03:00
parent a495240129
commit 011d46bcfc
2 changed files with 6 additions and 13 deletions

View file

@ -155,12 +155,6 @@ Command|Description
`dcpu [SERVICES]`|Docker compose pull & up specified services. `dcpu [SERVICES]`|Docker compose pull & up specified services.
`dcul [SERVICES]`|Docker compose up & attach to logs for specified services. `dcul [SERVICES]`|Docker compose up & attach to logs for specified services.
## Doc.
Command|Description
---|---
`doc_bash`|Generate a markdown file with all the help info. Outputs to `~/.doc/Bash.md`.
## Dvd. ## Dvd.
Command|Description Command|Description
@ -287,13 +281,12 @@ Command|Description
Command|Description Command|Description
---|--- ---|---
`nix_rebuild [HOSTNAME]`|Rebuild system. Optionally force the hostname. `nixos_rebuild [HOSTNAME]`|Rebuild system. Optionally force the hostname.
`nix_switch [HOSTNAME]`|Rebuild and switch system. Optionally force the hostname. `nixos_switch [HOSTNAME]`|Rebuild and switch system. Optionally force the hostname.
`nix_update`|Update system versions.
`nix_shell [NAME]`|Spawn shell with specified nix environment. Uses flake.nix in current dir by default. `nix_shell [NAME]`|Spawn shell with specified nix environment. Uses flake.nix in current dir by default.
`nix_tmpshell <PACKAGES>`|Spawn nix-shell with specified packages. `nix_tmpshell <PACKAGES>`|Spawn temporary nix-shell with specified packages.
`nix_live`| Build live image. `nixos_live`| Build live image.
`nix_generations`| List nixos generations. `nixos_generations`| List nixos generations.
`nixdroid_switch`| Switch nix-on-droid. `nixdroid_switch`| Switch nix-on-droid.
## Notify. ## Notify.

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
self=$(realpath .) self=$(realpath ${0})
cd ${self%/*} cd ${self%/*}
IFS=$'\n' IFS=$'\n'