Commit Graph

96 Commits

Author SHA1 Message Date
gwbeip 2f1af4da8b feat(helix): add leader+l keymap to toggle line-number mode 2026-06-14 13:26:50 +08:00
gwbeip e8d166ad8c feat(helix): add auto-format, indent-guides, cursor-shape, and file-picker config 2026-06-14 12:42:14 +08:00
gwbeip a9d3e2b329 feat(deepseek api): add printkey subcommand 2026-06-14 11:18:22 +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 1b801ef121 Merge remote-tracking branch 'refs/remotes/origin/main' 2026-06-05 10:10:36 +08:00
gwbeip db99887fb5 feat(Bash): only activate fzf keybindings when logging in interactively. 2026-06-05 10:07:00 +08:00
gwbeip 1a8880749e fix(Nushell): 2026-06-03 13:04:25 +08:00
gwbeip 768c1de824 refactor nushell zoxide bootstrap and windows path normalization 2026-05-31 16:16:19 +08:00
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 1768d9971e feat(starship): remove golang/nodejs/scala/haskell from prompt 2026-05-29 00:12:50 +08:00
gwbeip 0d208b29d0 fix(Bash): helix alias 2026-05-27 16:21:59 +08:00
gwbeip 8b36c0019f fix(MacOS): async problems 2026-05-27 16:13:41 +08:00
gwbeip ed6dadd5eb fix(MacOS): zsh subprocess uses 100% CPU 2026-05-27 10:40:19 +08:00
gwbeip 4a912cf7e7 feat(ZSH): auto start nushell if it exits when init zsh 2026-05-27 00:13:28 +08:00
gwbeip 59051a86c5 Merge branch 'main' of ssh://gitea.mmeip.cn:8022/gwbeip/TerminalPolyjuice 2026-04-03 16:15:39 +08:00
gwbeip d6e7b8b81f feat(Bash): support bash 2026-04-03 16:15:31 +08:00
gwbeip 6f1e783a56 feat(zsh): typo 2026-02-08 17:38:44 +08:00
gwbeip a9080203f6 feat(zsh): delete the dependency to oh-my-zsh 2026-02-08 17:37:19 +08:00
gwbeip e384a4ad0c nushell .. 2026-02-08 17:21:28 +08:00
gwbeip bbc0d2f0a1 zsh helix 2026-02-04 20:03:17 +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 3d22ed9633 helix for zsh 2026-02-01 22:02:25 +08:00
gwbeip e86f9d47e7 zsh fzf 2026-01-31 21:30:00 +08:00
gwbeip 21129ab5b9 zsh fzf alt-f, alt-d, alt-h 2026-01-31 20:28:24 +08:00
gwbeip cacd241cca Merge branch 'main' of ssh://gitea.mmeip.cn:8022/gwbeip/TerminalPolyjuice 2026-01-30 16:48:30 +08:00
gwbeip 05b2a28b94 nushell config 2026-01-30 16:48:11 +08:00
gwbeip 0a6abee3f4 zsh weather/moon/joke 2026-01-29 15:51:30 +08:00
gwbeip 165681a18e nushell support 2026-01-29 15:34:58 +08:00
gwbeip 87a837fdf5 colors 2026-01-27 11:38:01 +08:00
gwbeip db8ec50581 pj prefix for all functions 2026-01-26 14:31:04 +08:00
gwbeip 0a230f59f9 starship related 2026-01-26 14:25:36 +08:00
gwbeip b5f7f2caed ssh color 2026-01-25 20:27:46 +08:00
gwbeip fd12925cef typo 2026-01-25 18:52:14 +08:00
gwbeip c83aa1e9ec prompt directory color 2026-01-25 18:49:34 +08:00
gwbeip cb873c996a prompt 2026-01-25 18:28:37 +08:00
gwbeip e5f3ba75cd typo 2026-01-25 17:10:45 +08:00