Commit graph

10 commits

Author SHA1 Message Date
Daniel Siepmann df544f1e9e
Add fzf-tab plugin for ZSH
Use fzf as autocompletion wrapper for zsh autocompletion
2023-03-02 12:18:46 +01:00
Daniel Siepmann 5200ed955f
Remove unnecessary config line
This is auto added as completion is enabled via home manager.
2023-03-02 12:18:29 +01:00
Daniel Siepmann dc3120fab4
Remove custom zsh history bindings
As fzf is now enabled and provides mappings.
Re mapping ^r will replace fzf with own definition preventing fzf from
working.
2023-03-01 16:49:58 +01:00
Daniel Siepmann ca56b18b8f
Color zsh prompt depending on shell
Make yellow if within nix subshell.
Allows to run nix-shell --run zsh to have a zsh shell within nix shell.
Default shell is kept blue.
2023-02-18 11:19:29 +01:00
Daniel Siepmann 75fd0a2896
Remove none available zsh completion 2023-01-04 15:45:52 +01:00
Daniel Siepmann 6867dcb796
Adjust zsh completion
Accordingly to https://thevaluable.dev/zsh-completion-guide-examples/
2023-01-03 08:43:05 +01:00
Daniel Siepmann 4ae85c6ef4
Properly handle zsh config
Move nix specifics to nix file.
Remove nix specific escaping from zshrc file.
Add some comments to zshrc file.
2023-01-03 08:06:26 +01:00
Daniel Siepmann 69ce2af88d
Add further text objects to zsh
From: https://thevaluable.dev/zsh-install-configure-mouseless/
2023-01-03 07:59:00 +01:00
Daniel Siepmann 65bb378894
Allow to navigate zsh autocompletion with vim keys
From: https://thevaluable.dev/zsh-install-configure-mouseless/
2023-01-03 07:58:49 +01:00
Daniel Siepmann 05e0d67e1a
Move zshrc extra to own file
This allows for proper syntax highlighting

This also prevents the need for escaping
2023-01-03 07:57:46 +01:00