Commit graph

27 commits

Author SHA1 Message Date
Daniel Siepmann 567179eeaa
Adjust config to follow zsh enableSyntaxHighlighting renaming 2023-07-03 07:22:30 +02:00
Daniel Siepmann aaf78e1df9
Raise history size of zsh
That allows to also recall commands not executed for a long time.
2023-04-26 09:22:39 +02:00
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 b6c2ecb949
Do no longer use autocd of zsh
Some folders might have the same name as commands and reduce speed of
auto completion. E.g. one needs to skip the folder to complete the
command.
2023-02-27 07:50:43 +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 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
Daniel Siepmann 0a5c2ca8ff
Move files out of home to xdg folders
Thanks to xdg-ninja for analysing my home folder.
2022-10-11 20:36:48 +02:00
Daniel Siepmann c263cdc34a
Remove neovim as man pager
It was slow and always hang after closing.
Keep simple default.
2022-10-10 21:19:18 +02:00
Daniel Siepmann 964495f0a3
Revert from mcfly back to old zsh history search
It didn't work as good as expected. It sometimes missed further lines.
It did not really shine in its neural network learning, taking into
account exist codes and cwd.
2022-08-01 16:12:18 +02:00
Daniel Siepmann 3110d19453
Replace zsh history search with mcfly
Let's see whether I keep this setup.
2022-05-23 18:45:50 +02:00
Daniel Siepmann 2823c2f0f9
Maintain more global options via home-manager
Use home-manager to create xsession.
Readme contains info on how to start xsession on login.

That way home-manager can maintain languages, keyboard and further stuff
globally for user.

No more need to set stuff as workaround within i3 or zsh.
Also enabled to start systemd units after login, as home-manager will
create and trigger `hm-graphical-session.target`.
2022-05-20 12:47:01 +02:00
Daniel Siepmann ce237df68f
Disable CTRL+j binding for zsh history 2022-05-19 08:08:49 +02:00
Daniel Siepmann dc304dbcee
Keep zsh CTRL+r binding
I'm way to used to that.
I guess I'll use it for switching to search mode, and then use j+k for
moving.
2022-05-19 07:00:58 +02:00
Daniel Siepmann 676e0e311a
Allow forward history search in zsh
That allows me to search backward and go forward once I got to far.
I also switch to CTRL+j and CTRL+k to use vim like bindings to search
back and forth.
2022-05-18 19:49:39 +02:00
Daniel Siepmann ee2e7d04e1
Add info how to re source session variables 2022-04-14 15:09:28 +02:00
Daniel Siepmann 5221385642
Migrate global TYPO3 configurations
Those were the last piece in my old .dotfiles repository.
The whole configuration is now defined here.

Only customer specifics are in a separate location / repo to not expose
any sensible data.
2022-04-14 15:07:29 +02:00
Daniel Siepmann 95d0cb9a2c
Do not use vim as pager
That is inconvenient I often wanna see something and get back to work.
But vim is just to much and more complex to quit.
2022-04-11 07:52:55 +02:00
Daniel Siepmann 3255241ae2
Give page a chance over less
page also uses neovim, but re uses existing setup and improves over
nvimpager.
2022-03-29 15:39:01 +02:00
Daniel Siepmann 2cd771c838
Use less as general pager
I tried nvimpager but it was a bit complex for me to re use existing
Neovim settings tweak for specific usage as pager.
I decided to stick with less for everything.
2022-03-29 15:29:10 +02:00
Daniel Siepmann a62b3053a1
Fix broken LS_COLORS
A comment was part of the configuration.
The comment didn't make sense anyway and got removed to fix broken
coloring.
2022-03-07 09:22:06 +01:00
Daniel Siepmann 0f1959978b
Migrate JQ to use home-manager module 2022-02-14 16:06:43 +01:00
Daniel Siepmann 2cdb96acc6
Migrate TYPO3_ADDITIONAL_CONFIGURATION environment variable
This doesn't change and can be set global.
That allows nix shells to pick it up.
2022-02-14 08:03:47 +01:00
Daniel Siepmann 51fbae7d71
Move user / system specifics to .profile file instead of .zshrc
This ensures it is properly set on login.
Tools like dmenu and such are properly find when installed by nix.
This was not zsh specific anyway.
2022-02-11 11:35:34 +01:00
Daniel Siepmann e17ea91263
Remove grep alias
grep should behave as expected.
There is no official none deprecated way.
2022-02-11 08:48:38 +01:00
Daniel Siepmann 2ba1a01f2c
Migrate borg excludes and installation 2022-02-10 16:19:28 +01:00
Daniel Siepmann 12be4eb1d3
Fix broken path to SHELL
The shell actually is within /bin/zsh instead.
2022-02-07 21:10:25 +01:00
Daniel Siepmann 2ab2fb414a
Migrate zsh configuration
Use zsh with old configuration.
Ensure i3 will start st terminal with zsh from path (nix / home-manager)
instead of system shell (zsh by Ubuntu).
2022-02-07 14:07:31 +01:00