Commit Graph

32 Commits

Author SHA1 Message Date
ff2bdb2eca Initialize zoxide correctly, so I get proper completions
I used zoxide wrong all the time... By simply initiating it correctly it
immediately get's smarter and better. Imagine you have a dir like this:

  ~/deep/level/nested/but-with-very-specific-name/xy11-with-many-more

Imagine further that in your current directory is nothing that starts
with `xy`, then you only have to enter `cd xy` and zoxide will figure
out that you meant the deeply nested complicated name and change the
directory to there! - How awesome is that!

So, keep in mind use zoxide correct and it becomes easy to use!
2025-09-18 15:09:39 +02:00
ff9dd116c2 Massive cleanup of my bash-config
The most important change is that I no longer create completions for fly
and kubectl automatically. Furthermore the automatic creation of a
cronjob to empty the downloads-folder is also gone. - These
funtionalities better fit the initial dev-machine setup, so I gonna move
them over to there soon.
2025-09-17 23:39:49 +02:00
0fb4c5da60 Fix message about uncommited dotfile-changes to use git instead of dated config-command 2025-09-09 00:50:26 +02:00
f1ae24d120 Switch from the bare repository method to stow to manage my dotfiles
I finally made the switch from the bare-repository method to stow to
manage my dotfiles. This brings some nice benefits, e.g. I can savely
say what file is in my dotfiles and what is missing out. Furthermore the
usage is _way_ simpler the before. Though one downside is the more
complicated removal of files, but I've documented a way which feels nice
to me as well. Finally I removed my old setup-script since I switched to
an ansible-setup anyway. So this config will eventually be applied
ansible and I don't have to care about installed software in this repo
anymore!

Reference: https://www.gnu.org/software/stow/
Reference: https://news.ycombinator.com/item?id=11071754
Reference: https://gitea.nehrke.info/nemoinho/dev-machine/
2025-09-05 17:55:27 +02:00
6fc6551b02 Use lesspipe ad less-preprocessor
On typical linux distros `lesspipe` is already shipped as part of less.
Though on macos it isn't, but I found out that it can be isntalled via
brew. So, I have no reason to not use and can savely ditch my custom
lessfilter.
2025-09-05 14:41:57 +02:00
6ee0f000d7 Use zoxide as replacement for cd and integrate fzf into history etc. 2025-09-05 14:27:12 +02:00
1650b067a1 Add alias ff and ffz for fzf and fzf into vim 2025-08-26 22:17:27 +02:00
b8d698777f Ensure my beloved alias g for goto 2025-08-16 12:37:02 +02:00
0624ed1fa4 Initialize bash-completion at the end and fix config and goto completion 2025-08-12 04:21:30 +02:00
5bfbf8b1aa Apply bash-completion as last to make sure alias g=goto works 2025-08-11 10:07:40 +02:00
169b2e108f Fix reboot or changed config notices to be rendered correctly everywhere 2025-08-11 10:04:18 +02:00
c2bd400d3f Update bash and git config to align the configs on all my systems 2025-08-10 22:16:58 +02:00
701c4cf1d0 Show warning when opening a new terminal and there are uncommitted changes to dotfiles 2025-01-03 16:58:11 +01:00
d1f34f709d Warn me when a restart is required every time I open a new terminal 2025-01-03 16:32:33 +01:00
db0ec63930 Add goto as a tool to access common directories faster 2025-01-03 16:31:51 +01:00
d3c29865b4 Add a bunch of alias to use git w/o delta-diff-viewer 2025-01-03 16:00:45 +01:00
58c1570e70 Use eza as a replacement for ls 2025-01-03 15:58:32 +01:00
f683896a11 Simplify bash-prompt 2025-01-03 15:58:10 +01:00
88a6ebc40f Cleanup downloads directory regularly from old files (more than 1 day) 2025-01-03 15:48:36 +01:00
8fa09020c5 Add autocompletion for kubectl command 2022-11-14 11:44:35 +01:00
2f44b15ff9 Configure less to show colors by default
To see more informations, see: https://superuser.com/a/337640/881905
2022-11-14 11:44:35 +01:00
008d103785 Add possibility to configure local settings
Sometimes I have sensitive and system-specific configurations for bash
which I want to save. This change is a quick solution to enable this.

Maybe another solution involves a setup with encrypted secrets like
ansible handles secrets. I should evaluate such a solution in future.
2022-08-12 10:53:02 +02:00
072047eecf Care about bash-history by configuring HISTCONTROL
Docs: https://www.gnu.org/software/bash/manual/html_node/Bash-Variables.html#index-HISTCONTROL
2022-08-12 10:53:02 +02:00
a843042589 Add bash-completion for linux 2022-06-07 00:37:35 +02:00
fb5922a8cb Move XDG and PATH to .profile since it is independent of bash 2022-03-08 21:03:48 +01:00
e78526f754 Remove custom PATH for java since it is not in use anymore 2022-03-08 11:27:27 +01:00
1d543e4d27 Remove custom PATH for node since it is not in use anymore 2022-03-08 10:55:48 +01:00
d4c4bbcc93 Reload vimwiki when opened 2022-02-28 23:45:56 +01:00
5324873c7b Update bashrc 2022-02-28 23:37:18 +01:00
d0e73b801e Disable deprecation-message for bash on macos 2022-02-28 22:01:10 +01:00
4abf6e21ab Update bash-config 2022-02-28 11:46:49 +01:00
3be90d07c8 Add bash-config 2022-02-28 00:28:37 +01:00