From acc2496bd67548ccdda4c36fd88c1eefab4181ec Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 13 Oct 2025 09:25:05 +0200 Subject: [PATCH] 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. --- .dotter/global.toml | 5 +++++ terminal/{.bash_profile => .config/bash/bash_profile} | 0 terminal/{.bashrc => .config/bash/bashrc} | 0 terminal/.config/zsh/{.zprofile => zprofile} | 0 terminal/.config/zsh/{.zshenv => zshenv} | 0 terminal/.config/zsh/{.zshrc => zshrc} | 0 6 files changed, 5 insertions(+) rename terminal/{.bash_profile => .config/bash/bash_profile} (100%) rename terminal/{.bashrc => .config/bash/bashrc} (100%) rename terminal/.config/zsh/{.zprofile => zprofile} (100%) rename terminal/.config/zsh/{.zshenv => zshenv} (100%) rename terminal/.config/zsh/{.zshrc => zshrc} (100%) diff --git a/.dotter/global.toml b/.dotter/global.toml index 4b5c9bd..d674d32 100644 --- a/.dotter/global.toml +++ b/.dotter/global.toml @@ -40,6 +40,11 @@ ssh = "~" [terminal.files] "terminal/.config/vifm" = "~/.config/vifm" +"terminal/.config/bash/bashrc" = "~/.bashrc" +"terminal/.config/bash/bash_profile" = "~/.bash_profile" +"terminal/.config/zsh/zshrc" = "~/.config/zsh/.zshrc" +"terminal/.config/zsh/zprofile" = "~/.config/zsh/.zprofile" +"terminal/.config/zsh/zshenv" = "~/.config/zsh/.zshenv" terminal = "~" [linux] diff --git a/terminal/.bash_profile b/terminal/.config/bash/bash_profile similarity index 100% rename from terminal/.bash_profile rename to terminal/.config/bash/bash_profile diff --git a/terminal/.bashrc b/terminal/.config/bash/bashrc similarity index 100% rename from terminal/.bashrc rename to terminal/.config/bash/bashrc diff --git a/terminal/.config/zsh/.zprofile b/terminal/.config/zsh/zprofile similarity index 100% rename from terminal/.config/zsh/.zprofile rename to terminal/.config/zsh/zprofile diff --git a/terminal/.config/zsh/.zshenv b/terminal/.config/zsh/zshenv similarity index 100% rename from terminal/.config/zsh/.zshenv rename to terminal/.config/zsh/zshenv diff --git a/terminal/.config/zsh/.zshrc b/terminal/.config/zsh/zshrc similarity index 100% rename from terminal/.config/zsh/.zshrc rename to terminal/.config/zsh/zshrc