1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 06:37:46 +00:00

comma test runner (#715)

- Stabilized the format
- Test suit runner
- Support batch mode
- Watch supports postpone
- `settings.theme`
- docker.nu Simplify process-list logic

---------

Co-authored-by: nash <nash@iffy.me>
This commit is contained in:
fj0r 2023-12-29 23:49:28 +08:00 committed by GitHub
parent b9cfa0d204
commit 9b7c1772e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 1340 additions and 464 deletions

View file

@ -77,6 +77,11 @@ export def empty-sqlite [] {
| decode base64 --binary | gzip -d
}
export def 'cwd history delete' [cwd] {
open $env.cwd_history_file
| query db $"delete from cwd_history where cwd = '($cwd)';"
}
export-env {
$env.cwd_history_full = false
$env.cwd_history_file = '~/.cache/nu_cwd_history.sqlite'