commit 8a3a57558e4bc0dc8aa31690acdecacd7c750581 (patch)
parent c0e63f9af4234db498490249328fd9d5087b8ecf
Author: Alex Karle <alex@karle.co>
Date: Tue, 4 Jun 2019 22:29:19 -0400
[cleanup] move all top level dotfiles to subdirs
Previously, I would have a directory for tools with multiple dotfiles
(such as bash) and would just house the dotfiles that had a 1-1 ratio of
tool-dotfile (i.e. tmux.conf) in the root of this repo.
I decided to move to a 1-1 on tool-subdir, even if there is only one
file. This allows symlinking that whole directory to ~/.config should it
be that style of dotfile and it allows for a cleaner repo overall (files
on the top are not dotfiles, distinguishing between things like the
Dockerfile, etc).
I may also start adding notes on tools in README's for the respective
subdir. We shall see.
I also moved neovim->nvim such that the binary name is the name of the
subdir.
Diffstat:
8 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/alacritty.yml b/alacritty/alacritty.yml
diff --git a/inputrc b/bash/inputrc
diff --git a/bin/link.sh b/bin/link.sh
@@ -4,7 +4,6 @@
# Establish Globals
HOMEDOTS=$HOME/.akarledots
-DOTVIM=$HOME/.vim
CONFDIR=$HOME/.config
# Load messages colors + functions
@@ -50,17 +49,16 @@ try_ln() {
}
# $HOME level ln's
-try_ln $HOMEDOTS/tmux.conf $HOME/.tmux.conf
+try_ln $HOMEDOTS/tmux/tmux.conf $HOME/.tmux.conf
try_ln $HOMEDOTS/zsh/zshrc $HOME/.zshrc
-try_ln $HOMEDOTS/inputrc $HOME/.inputrc
-try_ln $HOMEDOTS/screenrc $HOME/.screenrc
-try_ln $HOMEDOTS/gdbinit $HOME/.gdbinit
+try_ln $HOMEDOTS/screen/screenrc $HOME/.screenrc
+try_ln $HOMEDOTS/gdb/gdbinit $HOME/.gdbinit
try_ln $HOMEDOTS/perl/perldb $HOME/.perldb
-try_ln $HOMEDOTS/global_gitignore $HOME/.global_gitignore
+try_ln $HOMEDOTS/git/global_gitignore $HOME/.global_gitignore
# .config lns
-try_ln $HOMEDOTS/alacritty.yml $CONFDIR/alacritty/alacritty.yml
-try_ln $HOMEDOTS/neovim/init.vim $CONFDIR/nvim/init.vim
+try_ln $HOMEDOTS/alacritty $CONFDIR
+try_ln $HOMEDOTS/nvim $CONFDIR
# bash lns
for file in $HOMEDOTS/bash/*; do
diff --git a/gdbinit b/gdb/gdbinit
diff --git a/global_gitignore b/git/global_gitignore
diff --git a/neovim/init.vim b/nvim/init.vim
diff --git a/screenrc b/screen/screenrc
diff --git a/tmux.conf b/tmux/tmux.conf