1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-26 05:11:30 +01:00
Commit Graph

18 Commits

Author SHA1 Message Date
bretello
5ad7209f8f zsh/tmux: add prompt marker/add copy-mode shortcuts
tmux allows moving between shell prompts when the prompt is marked with
the OSC 133 escape sequence (`\033[133;A\033\\]`).

This is added to the zsh prompt and `next-prompt` and `previous-prompt`
are bound to `n` and `p` in tmux copy mode.
2024-08-12 17:59:01 +02:00
bretello
8a72eaff6f zsh: themes: cleanup, make functions private 2024-08-12 17:59:01 +02:00
bretello
e021c813b2
zsh: theme: prevent breaking of prompt with virtualenv prefix 2024-05-09 16:33:31 +02:00
bretello
1e90b5766c
zsh: themes: fix prompt_too_long usage 2024-05-09 12:39:12 +02:00
bretello
030903dcd7
zsh: theme: get rid of more functions 2024-04-09 16:59:12 +02:00
bretello
7312c868b3
zsh: theme: avoid using functions where possible
includes fix for ohmyzsh's breaking change in ec1afe9d (async prompt)
2024-04-06 21:24:45 +02:00
bretello
208057ce91
zsh: theme: fix display of hostname for ssh connections 2024-01-03 15:22:01 +01:00
bretello
f9e4a2c224
zsh: clean/improve brethil theme 2023-12-21 16:09:43 +01:00
bretello
4b73ed209f
zsh: theme: do not increase shell level when using tmux 2023-07-27 12:01:26 +02:00
bretello
8c43d4c7c1
zsh: vim mode: show navigation indicator 2021-09-26 15:46:44 +02:00
bretello
036c631c0c
zsh: theme: improve navigation mode display 2021-04-05 18:12:51 +02:00
bretello
529f0f0dff
zsh: fix tab formatting for zsh-theme 2021-04-05 18:12:50 +02:00
bretello
71f307e12c
zsh: move vi_mode_prompt_info to RPS1 2021-04-05 18:12:49 +02:00
bretello
d4ec9a5f2e
zsh: add visual mode indicator to zsh theme 2021-01-15 01:34:10 +01:00
bretello
b280360a16
zsh: do not show parentheses around git prompt 2021-01-09 23:53:54 +01:00
bretello
8a6cda547b theme: fix on OS X
MacOS' sed syntax is different from GNU's. A workaround
is to use gsed (GNU sed) whenever it is available.
The multi-line prompt will be broken without gsed.
2020-12-10 11:07:27 +01:00
bretello
64ade8d864
theme: show hostname if in a ssh session 2020-12-08 22:53:09 +01:00
bretello
5dc09a62ea
zsh-theme: improve initial setup 2020-12-08 00:07:55 +01:00