From 5efa459e72f60adf35135f96ccea2aa1f2c6b1cd Mon Sep 17 00:00:00 2001 From: James Dixon Date: Wed, 30 Sep 2020 14:20:18 -0400 Subject: [PATCH 1/2] move file to correct directories --- bash/{bash_profile => .bash_profile} | 0 bash/{bashrc => .bashrc} | 0 git/{gitconfig => .gitconfig} | 0 install.sh | 18 ------------------ .../scripts}/completions/hugoctl_comp.bash | 0 scripts/{ => .local/scripts}/hugoctl | 0 tmux/{tmux.conf => .tmux.conf} | 0 vim/{vimrc => .vim/.vimrc} | 0 vim/{vimrc.min => .vim/.vimrc.min} | 0 9 files changed, 18 deletions(-) rename bash/{bash_profile => .bash_profile} (100%) rename bash/{bashrc => .bashrc} (100%) rename git/{gitconfig => .gitconfig} (100%) delete mode 100755 install.sh rename scripts/{ => .local/scripts}/completions/hugoctl_comp.bash (100%) rename scripts/{ => .local/scripts}/hugoctl (100%) rename tmux/{tmux.conf => .tmux.conf} (100%) rename vim/{vimrc => .vim/.vimrc} (100%) rename vim/{vimrc.min => .vim/.vimrc.min} (100%) diff --git a/bash/bash_profile b/bash/.bash_profile similarity index 100% rename from bash/bash_profile rename to bash/.bash_profile diff --git a/bash/bashrc b/bash/.bashrc similarity index 100% rename from bash/bashrc rename to bash/.bashrc diff --git a/git/gitconfig b/git/.gitconfig similarity index 100% rename from git/gitconfig rename to git/.gitconfig diff --git a/install.sh b/install.sh deleted file mode 100755 index de15edb..0000000 --- a/install.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -# make these homey paths -mkdir -pv "$HOME/.vim" "$HOME/.local/"{bin,lib} "$HOME/.config" - -# find our dotfiles repo -REPOPATH=$(find "$HOME" -type d -iname 'dotfiles') - -# copy our files -cp "$REPOPATH/bash/bashrc" "$HOME/.bashrc" -cp "$REPOPATH/bash/bash_profile" "$HOME/.bash_profile" -cp "$REPOPATH/tmux/tmux.conf" "$HOME/.tmux.conf" -cp "$REPOPATH/git/gitconfig" "$HOME/.gitconfig" -cp "$REPOPATH/vim/vimrc" "$HOME/.vim/vimrc" - -# link scripts dir -ln -sv "$REPOPATH/scripts" "$HOME/.local/" - diff --git a/scripts/completions/hugoctl_comp.bash b/scripts/.local/scripts/completions/hugoctl_comp.bash similarity index 100% rename from scripts/completions/hugoctl_comp.bash rename to scripts/.local/scripts/completions/hugoctl_comp.bash diff --git a/scripts/hugoctl b/scripts/.local/scripts/hugoctl similarity index 100% rename from scripts/hugoctl rename to scripts/.local/scripts/hugoctl diff --git a/tmux/tmux.conf b/tmux/.tmux.conf similarity index 100% rename from tmux/tmux.conf rename to tmux/.tmux.conf diff --git a/vim/vimrc b/vim/.vim/.vimrc similarity index 100% rename from vim/vimrc rename to vim/.vim/.vimrc diff --git a/vim/vimrc.min b/vim/.vim/.vimrc.min similarity index 100% rename from vim/vimrc.min rename to vim/.vim/.vimrc.min From e701f07175fc22267b2166fc4181c5f0d94f1fe1 Mon Sep 17 00:00:00 2001 From: James Dixon Date: Wed, 30 Sep 2020 14:30:22 -0400 Subject: [PATCH 2/2] fix vimrc filenames --- vim/.vim/.gitignore | 5 +++++ vim/.vim/{.vimrc => vimrc} | 0 vim/.vim/{.vimrc.min => vimrc.min} | 0 3 files changed, 5 insertions(+) create mode 100644 vim/.vim/.gitignore rename vim/.vim/{.vimrc => vimrc} (100%) rename vim/.vim/{.vimrc.min => vimrc.min} (100%) diff --git a/vim/.vim/.gitignore b/vim/.vim/.gitignore new file mode 100644 index 0000000..e9816d5 --- /dev/null +++ b/vim/.vim/.gitignore @@ -0,0 +1,5 @@ +autoload +plugged +.backup +.swap +.undo diff --git a/vim/.vim/.vimrc b/vim/.vim/vimrc similarity index 100% rename from vim/.vim/.vimrc rename to vim/.vim/vimrc diff --git a/vim/.vim/.vimrc.min b/vim/.vim/vimrc.min similarity index 100% rename from vim/.vim/.vimrc.min rename to vim/.vim/vimrc.min