]> Sergey Matveev's repositories - nnn.git/commit
Add nbak plugin to backup all nnn config (#528)
authorlvgx <l@vgx.fr>
Thu, 23 Apr 2020 17:35:58 +0000 (19:35 +0200)
committerGitHub <noreply@github.com>
Thu, 23 Apr 2020 17:35:58 +0000 (23:05 +0530)
commit7dab9d0d86730f2953edb3c38187ac022b55ec96
tree32794be4a21851bb0e02e79cf49d8bfc69a346c2
parent00148360e4452ae24a43a15b0833c49b7b4e4347
Add nbak plugin to backup all nnn config (#528)

* Add nbak plugin to backup all nnn config

* nbak: check cd, quote env

* nbak: print backup file name

* nbak: add --show option, to show shell config

* nbak: fix shellcheck warning

'type' is POSIX complient, AND we check that we're actually running
bash, but shellcheck can't understand this...
Then '-o' is POSIX complient too, but shellcheck thinks it's "not well defined".

* nbak: variable renames, archive hierarchy changes

* nbak: fix variable expansion

* nbak: remove --show option

* nbak: call interactive bash/zsh to get fun/aliases

* Add nbak entry in plugins/README.md

* nbak: change archive hierarchy

* plugins/README.md: make nbak description shorter
plugins/README.md
plugins/nbak [new file with mode: 0755]