Commit graph

6 commits

Author SHA1 Message Date
8b2f9b6815
zsh: Add transient prompt
As an experimental change (and following my adding a transient prompt
for nushell which I like), this change adds a transient prompt plugin
for zsh. It then defines the 'tansient prompt' prompt to use starship so
functionally nothing should change about the prompt (or the rprompt),
except for being transient, showing only a character for previous prompts.

From: https://github.com/starship/starship/issues/888#issuecomment-3597694479
2025-12-12 09:50:41 +01:00
b6e84bbc99
zsh: Add fzf-tab manpage preview for commands
If a command has a manpage associated, we now display it in the
fzf-preview box that fzf-tab completion shows.
2025-12-12 09:50:40 +01:00
42f2b034b5
zsh: Change autosuggest strategy and max size
New combined strategy will first gather suggestions from the history,
and if none are found fall back on normal completion options (e.g. `ls `
may suggest files in current dir, etc).

Also changed the max size that completions will use as buffer to 20, so
we don't have auto suggestions for _huge_ scripts anymore.
2025-12-12 09:50:38 +01:00
e643a2e45d
zsh: Ignore commands starting with pass for history 2025-12-12 09:50:37 +01:00
d9c88d99f3
zsh: Reverse alias expansion between space and ctrl space
Previously, <space> would expand any alias and all environment
variables while <c-space> would simply put a normal space on the zle
without performing any expansion.

This change reverses this, so that nothing gets expanded by default
_but_ if the user wants to specifically expand something the option
exists to simply use <c-space> to see the expanded version.
2025-12-12 09:50:37 +01:00
acc2496bd6
terminal: Move bash and zsh into config directory
With the power of dotter for dotfile management we can move the files we
want to link anywhere in our repository.

So finally we're making use of it to keep the bash config files in the
`terminal/.config/bash` directory, as well as removing the leading dot
from both the zsh configuration files.
2025-10-13 11:26:22 +02:00
Renamed from terminal/.config/zsh/.zshrc (Browse further)