Commit Graph

23 Commits

Author SHA1 Message Date
1a16e70e08
Zsh prompt: Allow to break shrink-path-loop early 2022-04-22 23:15:16 +02:00
164ea811ce
typo 2022-04-22 23:09:11 +02:00
a170e34344
Zsh prompt: refine shrunken path algorithm
- Allow short elements
- Try to keep last element
  - Shorten mid-section if not possible
2022-04-22 23:05:21 +02:00
2e4cfd99e0
Zsh: Early return in _shrunkpwd() 2022-04-22 08:40:10 +02:00
5e22f6cea1
Zsh: async_vcs_prompt -> _async_vcs_prompt 2022-04-21 23:05:38 +02:00
a2a261ddbe
Zsh: Shrink PWD in RPROMPT dynamically 2022-04-21 23:04:25 +02:00
63f2f0920d
Zsh theme: Set unknown-token to default 2022-04-15 13:48:12 +02:00
3fa947d422
Align minor colour in Zsh prompt with tmux status colour 2022-04-08 04:54:34 +02:00
f44adb6760
Zsh prompt: Make sure bright colours are used for SSH and root 2022-04-04 05:23:00 +02:00
00c7c2bc76
Remove cursor style from zsh syntax hl theme
It interacts weirdly with terminal defaults.
2022-04-03 22:05:19 +02:00
e004081c5a
Zsh: Use more shell builtins, load modules explicitly 2022-04-01 23:30:25 +02:00
9d50a7a39d
Zsh: Reformat prompt functions, initialize async if it isn't 2022-03-28 05:13:42 +02:00
407391880b
Zsh: Rename hook functions, use add-zsh-hook
New format: _my_<name>_<hook>
2022-03-23 23:31:23 +01:00
a9bae9ddd2
Remove now unneeded oh-my-zsh lib, set some options it set 2022-03-23 02:37:02 +01:00
cc55c54e6b
Zsh prompt: use $EUID instead if id 2022-03-23 01:52:26 +01:00
377c9937ac
Remove old Zsh syntax highlighting theme 2022-03-22 20:19:55 +01:00
912c10c51a
Make prompt pinker and tmux more violet 2022-03-22 01:03:21 +01:00
14ce8345e6
Zsh prompt: Add missing %f in VCS prompt, reformat a bit 2022-03-20 21:57:10 +01:00
ec93b23f8f
Remove useless check from Zsh themes 2022-03-20 21:44:53 +01:00
a8eb177896
Zsh: Make errors in unikitty-reversible theme less eye searing 2022-03-20 20:33:53 +01:00
afb0e5b370
Zsh: Add syntax highlighting theme unikitty-reversible 2022-03-20 20:20:01 +01:00
28e04be330
Zsh: Remove syntax highlighting theme from prompt theme
Oops, forgot it earlier.
2022-03-20 16:41:17 +01:00
586fd06b4d
Zsh: Split theme into prompt and syntax highlighting 2022-03-20 14:33:35 +01:00