Move gitconfig to org tangle file
This commit is contained in:
parent
19b214db96
commit
8e81594324
4 changed files with 22 additions and 28 deletions
22
dotfiles.org
22
dotfiles.org
|
|
@ -21,6 +21,28 @@ This file contains all configurations across all my machines. Well, most of them
|
||||||
export PATH="~/.dotfiles/scripts:$PATH"
|
export PATH="~/.dotfiles/scripts:$PATH"
|
||||||
export PATH="/usr/local/bin:$PATH"
|
export PATH="/usr/local/bin:$PATH"
|
||||||
#+end_src
|
#+end_src
|
||||||
|
** Git
|
||||||
|
- TODO: re-evaliate merge conflictstyle
|
||||||
|
#+begin_src ini :tangle ~/.gitconfig
|
||||||
|
[user]
|
||||||
|
name = Ian Keane
|
||||||
|
email = ian@keane.sh
|
||||||
|
[alias]
|
||||||
|
find-file = "!for branch in `git for-each-ref --format=\"%(refname)\" refs/heads`; do echo \"${branch}:\"; git ls-tree -r --name-only $branch | nl -bn -w3 | grep \"$1\"; done; :"
|
||||||
|
[core]
|
||||||
|
pager = delta
|
||||||
|
[interactive]
|
||||||
|
diffFilter = delta --color-only
|
||||||
|
[delta]
|
||||||
|
navigate = true
|
||||||
|
side-by-side = true
|
||||||
|
line-numbers-left-format = ""
|
||||||
|
line-numbers-right-format = "│ "
|
||||||
|
[merge]
|
||||||
|
conflictstyle = diff3
|
||||||
|
[diff]
|
||||||
|
colorMoved = default
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** TODO Autojump
|
** TODO Autojump
|
||||||
** TODO Atuin
|
** TODO Atuin
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
For repo-specific config, use .git/config in the repo itself
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
[user]
|
|
||||||
email = ian@keane.sh
|
|
||||||
name = Ian Keane
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
||||||
[user]
|
|
||||||
name = Ian Keane
|
|
||||||
email = ian@keane.sh
|
|
||||||
|
|
||||||
[alias]
|
|
||||||
find-file = "!for branch in `git for-each-ref --format=\"%(refname)\" refs/heads`; do echo \"${branch}:\"; git ls-tree -r --name-only $branch | nl -bn -w3 | grep \"$1\"; done; :"
|
|
||||||
|
|
||||||
[core]
|
|
||||||
pager = delta
|
|
||||||
|
|
||||||
[interactive]
|
|
||||||
diffFilter = delta --color-only
|
|
||||||
|
|
||||||
[delta]
|
|
||||||
navigate = true
|
|
||||||
side-by-side = true
|
|
||||||
line-numbers-left-format = ""
|
|
||||||
line-numbers-right-format = "│ "
|
|
||||||
|
|
||||||
[merge]
|
|
||||||
conflictstyle = diff3
|
|
||||||
|
|
||||||
[diff]
|
|
||||||
colorMoved = default
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue