소스 검색

Added partial support for private files

*   if dotfiles are shared by git, it will ignore
    all files under dotfiles/git-universe/private

*   if you use other sharing mechanism, you need
    to exclude these files other way
Alois Mahdal 11 년 전
부모
커밋
a05fdafa61
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      .gitignore
  2. 1
    0
      dotfiles/git-universe/setup

+ 1
- 0
.gitignore 파일 보기

@@ -1,3 +1,4 @@
1 1
 *~
2 2
 .*.swp
3 3
 .netrwhist
4
+*/git-universe/private/*

+ 1
- 0
dotfiles/git-universe/setup 파일 보기

@@ -20,4 +20,5 @@ printf "[include]\n" >> ~/.gitconfig
20 20
 printf "    path = $tilde/.git-universe/gitconfig-before\n" >> ~/.gitconfig
21 21
 printf "    path = $tilde/.git-universe/host/$host.gitconfig\n" >> ~/.gitconfig
22 22
 printf "    path = $tilde/.git-universe/user/$user.gitconfig\n" >> ~/.gitconfig
23
+printf "    path = $tilde/.git-universe/private/gitconfig\n" >> ~/.gitconfig
23 24
 printf "    path = $tilde/.git-universe/gitconfig-after\n" >> ~/.gitconfig