Remove dotfiles setup for each shell startup
This commit is contained in:
parent
0a5b98df92
commit
9cbce930ce
1 changed files with 7 additions and 4 deletions
|
@ -1,7 +1,11 @@
|
||||||
# enables git management through dotfiles command
|
# enables git management through dotfiles command
|
||||||
alias dotfiles='/usr/bin/git --git-dir=/home/marty/.dotfiles/ --work-tree=/home/marty'
|
alias dotfiles='/usr/bin/git --git-dir=/home/marty/.dotfiles/ --work-tree=/home/marty'
|
||||||
alias df=dotfiles
|
|
||||||
|
|
||||||
|
# The following commands are run on your git repo if you installed through the script
|
||||||
|
# You can invoke them manually, but it's not recommended to keep them active in here.
|
||||||
|
# Otherwise each time a shell starts up, *whatever directory you are in*, the commands
|
||||||
|
# will be re-run.
|
||||||
|
#
|
||||||
## Make git assume the readme is not changing (essentially ignore it).
|
## Make git assume the readme is not changing (essentially ignore it).
|
||||||
#
|
#
|
||||||
# This means you can safely remove the README.md file from your home dir
|
# This means you can safely remove the README.md file from your home dir
|
||||||
|
@ -13,8 +17,7 @@ alias df=dotfiles
|
||||||
# and: https://stackoverflow.com/questions/653454/how-do-you-make-git-ignore-files-without-using-gitignore
|
# and: https://stackoverflow.com/questions/653454/how-do-you-make-git-ignore-files-without-using-gitignore
|
||||||
#
|
#
|
||||||
#dotfiles update-index --no-assume-unchanged README.md
|
#dotfiles update-index --no-assume-unchanged README.md
|
||||||
|
#dotfiles update-index --assume-unchanged README.md
|
||||||
dotfiles update-index --assume-unchanged README.md
|
|
||||||
|
|
||||||
## Make git not show untracked files (i.e. ALL other files in your home dir)
|
## Make git not show untracked files (i.e. ALL other files in your home dir)
|
||||||
dotfiles config status.showUntrackedFiles no
|
#dotfiles config status.showUntrackedFiles no
|
||||||
|
|
Loading…
Reference in a new issue