aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2019-05-08 22:08:28 -0400
committertdro <tdro@users.noreply.github.com>2019-05-08 22:08:28 -0400
commit58d2e4d5c4f8b2f4c37e8ef73210c8ce000f4ecf (patch)
treef286ec47746b5de82aece0ebdd85173f66e5c181
parentb28c34f0bcc4cc75941e7b9c49e109a62929219e (diff)
downloaddotfiles-58d2e4d5c4f8b2f4c37e8ef73210c8ce000f4ecf.tar.gz
dotfiles-58d2e4d5c4f8b2f4c37e8ef73210c8ce000f4ecf.tar.bz2
dotfiles-58d2e4d5c4f8b2f4c37e8ef73210c8ce000f4ecf.zip
dotfiles: Simplify git dotfiles method
Git init within the home directory itself and use an ignore all files pattern
-rw-r--r--.bashrc6
-rw-r--r--.gitignore1
2 files changed, 1 insertions, 6 deletions
diff --git a/.bashrc b/.bashrc
index b572888..2fd81a6 100644
--- a/.bashrc
+++ b/.bashrc
@@ -38,12 +38,6 @@ if [ -n "$SSH_CLIENT" ]; then
export PS1='\[\e[0;32m\][ \W ] \$\[\e[0m\] '
fi
-# github dotfiles
-alias dotfiles='/usr/bin/git --git-dir=$HOME/.local/share/dotfiles/ --work-tree=$HOME'
-
-# github dotfiles
-alias etcfiles='/usr/bin/git --git-dir=$HOME/.local/share/etcfiles/ --work-tree=/etc'
-
# bash history settings
export HISTSIZE=
export HISTFILESIZE=
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..72e8ffc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*