Browse Source

dotfiles: Simplify git dotfiles method

Git init within the home directory itself and use an ignore all files pattern
master
tdro 1 year ago
parent
commit
58d2e4d5c4
2 changed files with 1 additions and 6 deletions
  1. +0
    -6
      .bashrc
  2. +1
    -0
      .gitignore

+ 0
- 6
.bashrc View File

@@ -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=


+ 1
- 0
.gitignore View File

@@ -0,0 +1 @@
*

Loading…
Cancel
Save