Commit Graph

83 Commits

Author SHA1 Message Date
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
gwbeip 56ba5ace2c key bindings 2026-01-25 16:46:36 +08:00
gwbeip 9572e224c6 bindkey -e 2026-01-25 16:23:34 +08:00
gwbeip 885d2a3caa plugins 2026-01-25 14:13:21 +08:00
gwbeip 3585bbfb5a python alias and fzf alias 2026-01-25 11:55:19 +08:00
gwbeip f532737ed9 python alias 2026-01-24 21:45:48 +08:00
gwbeip 1a949c4497 python and zoxide alias 2026-01-23 11:55:27 +08:00
gwbeip b1d7af59a0 update check functions 2026-01-23 11:48:58 +08:00
gwbeip 85a41413a3 update check functions 2026-01-23 10:57:23 +08:00
gwbeip 771604ecba update zed keymap.json 2026-01-23 09:34:45 +08:00
gwbeip a15863b0e5 interactive cd 2026-01-22 22:38:13 +08:00
gwbeip d037c9e2eb fix bug in install_plugins function 2026-01-22 11:56:18 +08:00
gwbeip 12338c877a zed keymap.json 2026-01-22 09:44:52 +08:00
gwbeip 6cf84dccb4 add echo message for check_zsh_polyjuice 2026-01-21 23:19:54 +08:00