Petr Nyc
|
bf5f2131b4
|
refactor(shell): simplify zsh profile startup
Summary:
- Move reusable PATH setup into a shared .pathrc and source it from zsh
login and interactive startup.
- Keep .zshenv minimal, and guard p10k, Oh My Zsh, and terminal-only
setup so non-terminal shells stay quiet.
- Preserve Emacs vterm p10k support while skipping prompt-heavy setup in
eshell-style sessions.
Rationale:
- The local profile had startup-time side effects, duplicate PATH/plugin
setup, and non-terminal noise similar to the cleanup already done on
dabel.
- Neutral helper names avoid personal prefixes in reusable profile code.
Tests:
- zsh -n ~/.zshenv ~/.zprofile ~/.zshrc ~/.pathrc
- zsh -lic 'print ok'
- INSIDE_EMACS=eshell TERM=dumb zsh -ic 'print ok; print theme=$ZSH_THEME'
- INSIDE_EMACS=vterm TERM=xterm-256color zsh -ic 'print ok; print theme=$ZSH_THEME'
- SSH_AUTH_SOCK=/tmp/test-sock zsh -lc 'printf "%s\n" "$SSH_AUTH_SOCK"'
Co-authored-by: Codex <codex@openai.com>
|
2026-06-05 13:36:44 +02:00 |
|
Petr Nyc
|
9919b59057
|
before SSO migration
|
2026-06-01 10:14:13 +02:00 |
|
Petr Nyc
|
cc5e1a21e3
|
homebrew config
|
2026-01-21 14:40:08 +01:00 |
|
Petr Nyc
|
5715fd5577
|
periodic check-in
|
2025-11-11 16:25:03 +01:00 |
|
Petr Nyc
|
c6e19f8633
|
2.9
|
2025-09-02 10:06:29 +02:00 |
|
Petr Nyc
|
f0f6f560c6
|
25.8.
|
2025-08-25 12:28:03 +02:00 |
|
Petr Nyc
|
8064928ba4
|
1.8.2025
|
2025-08-01 15:13:10 +02:00 |
|
Petr Nyc
|
b8ec75febe
|
13.4.2025 Sunday 11:34
|
2025-04-13 11:34:32 +02:00 |
|
Petr Nyc
|
a4f14e33c8
|
Merged changes from linux hosts
|
2025-02-12 14:01:30 +01:00 |
|
Petr Nyc
|
856bcc9ee9
|
vim and zsh improvements
|
2025-02-12 13:58:12 +01:00 |
|
Petr Nyc
|
a7111acdc2
|
path for config
|
2024-11-08 14:38:12 +01:00 |
|
Petr Nyc
|
2aab479968
|
zsh plugins, tmux tweaks
|
2024-08-22 09:54:07 +02:00 |
|
Petr Nyc
|
4670ee5597
|
Alacritty tmux bindings, pig and time for zsh prompt
|
2024-07-16 14:48:41 +02:00 |
|
Petr Nyc
|
0840bad00b
|
08.03.2024 Friday 09:56
|
2024-03-08 09:56:54 +01:00 |
|
Petr Nyc
|
cab2da3b4d
|
dynaimic solarized profiles for iTerm, solarized for mac ls
|
2023-02-20 18:19:36 +01:00 |
|
Petr Nyc
|
c9abc619cf
|
iterm/tmux: shortcuts for moving between panes
|
2023-02-20 15:39:17 +01:00 |
|
Petr Nyc
|
276cf5dacf
|
vim, tmux, zsh and git config files
|
2023-02-10 09:22:55 +01:00 |
|