gwbeip
deb4e45c4e
fix(nushell): improve robustness and clarify abstraction boundaries
...
- pj_completions: merge into $env.config instead of replacing it wholesale
- pj_completions: use parse-time const for cache dir instead of pwd fallback
- pj_fzf / pj_historyhintcomplete: null-safe keybindings access via ? and default
- pj_helix: replace $env.OS (Windows-only) with $nu.os-info.name; extract shared launcher
- pj_prompt: fix off-by-one in git OID substring (0..7 -> 0..<7)
- pj_prompt: use $nu.os-info.name for OS detection instead of sys host hostname
- pj_prompt: cache git availability in static base, skip per-render which call
- pj_prompt: bind LAST_EXIT_CODE once in right-prompt closure
- pj_brew / pj_uv: add --ignore-errors to hide-env calls
- pj_aliases: convert quote/dadjoke to defs with try/catch error handling
- pj_deepseek: guard curl availability before invoking
- pj_zoxide: add ? to $nu.os-info.name access
- pj_starship: fix null-to-nuon producing "null" string; broaden detection
- nu_polyjuice: load pj_starship module
2026-07-31 00:31:04 +08:00
gwbeip
727e4977f8
feat(deepseek api): add balance query and API key management
...
Add pj deepseek command to query account balance and
pj deepseek setkey to store API key in local cache.
Also extract Python launcher into its own module (pj_python.nu)
and add common aliases (g, c, tree, myip, ports, df, reload, edit).
2026-06-14 11:10:16 +08:00
gwbeip
7b4c13791c
Add Nushell brew and uv helpers
2026-05-31 01:04:45 +08:00
gwbeip
10d133444d
feat(nushell): re-export completions for use-based startup
...
- switch completion module imports to export use so externs propagate
- extend managed completion command set and required file checks
- rename prompt static cache env var to PJ_LEFT_PROMPT_STATIC_PART
- load completion module via use in nu_polyjuice
2026-05-30 21:38:36 +08:00
gwbeip
9a0ad9384a
feat(nushell): add cached nu_scripts completions bootstrap
...
- add pj completion command to clone/update nu_scripts cache
- load fixed custom-completions for git/ssh/cargo/uv/rustup from cache
- ignore nushell/cache contents in git while keeping placeholder .gitignore
- source pj_completions at startup and align prompt indicators/newline behavior
2026-05-30 20:29:46 +08:00
gwbeip
1af9a937d8
nushell completions
2026-02-02 20:33:39 +08:00
gwbeip
0f9b528471
nushell helix
2026-02-02 20:18:50 +08:00
gwbeip
0bb8f0e5e8
nushell alt-l to accept autocomplete
2026-02-02 19:36:49 +08:00
gwbeip
05b2a28b94
nushell config
2026-01-30 16:48:11 +08:00
gwbeip
165681a18e
nushell support
2026-01-29 15:34:58 +08:00