Commit Graph

20 Commits

Author SHA1 Message Date
gwbeip 7b4c13791c Add Nushell brew and uv helpers 2026-05-31 01:04:45 +08:00
gwbeip 39f94d1c1f feat(nushell): remap fzf history hotkey to alt-r
- change fzf_history_selector keycode from char_h to char_r
2026-05-30 23:57:05 +08:00
gwbeip 804b81a0e5 feat(nushell): gate cache clone behind update flag
- only clone missing nu_scripts cache when using -u/-f

- keep default pj completion as non-cloning check mode

- align completion flag help text with new behavior
2026-05-30 23:19:41 +08:00
gwbeip 356d4ab780 feat(nushell): add auto-bootstrapped completion registry flow
- generate cache registry module from command list and load it at startup

- add pj completion sync (-s) with optional help and restart behavior

- keep missing-cache fallback via noop module and preserve cache ignore rules
2026-05-30 23:12:21 +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 4aaf4199bd perf(nushell): cache static prompt context
- precompute os symbol, user/host, ssh flag, shell label and newline sequence at startup

- reuse cached values in _pj_left_prompt to reduce per-render overhead
2026-05-30 20:32:42 +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 c660e0d621 refactor nushell prompt helpers and reduce call depth 2026-05-30 16:42:57 +08:00
gwbeip 183c765b07 feat(Nushell): using 'whoami' to obtain username 2026-05-29 22:59:48 +08:00
gwbeip fe6a79626f feat(Nushell): trancate diractory path to git root 2026-05-29 22:32:33 +08:00
gwbeip b8c94de6c6 feat(Nushell): improve prompt rendering 2026-05-29 22:11:03 +08:00
gwbeip fdacaab656 feat(Nushell): improve prompt rendering 2026-05-29 22:08:41 +08:00
gwbeip 2241e10f47 feat(Nushell): remove starship in the prompt rendering 2026-05-29 19:30:55 +08:00
gwbeip 4a912cf7e7 feat(ZSH): auto start nushell if it exits when init zsh 2026-05-27 00:13:28 +08:00
gwbeip e384a4ad0c nushell .. 2026-02-08 17:21:28 +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