Restructure dotfile folders and add README.

This commit is contained in:
2025-01-18 00:35:05 +00:00
parent 6ce6608bcd
commit e72074f6a6
9 changed files with 12 additions and 10 deletions

6
README.md Normal file
View File

@@ -0,0 +1,6 @@
# Dotfiles
Collection of configuration/dotfiles. Most are designed to be linked via GNU stow, for example:
```
stow --dotfile git
```

View File

@@ -2,6 +2,9 @@
name = Chun Li
email = chunli.developer@gmail.com
[init]
defaultBranch = main
[alias]
hist = log --pretty=oneline --graph --decorate --all --abbrev-commit
diff = --ignore-space-change
@@ -37,20 +40,16 @@
precomposeunicode = true
[merge]
tool = Opendiff
tool = vimdiff
[mergetool]
keepBackup = false
prompt = false
[mergetool "Opendiff"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\" --merge \"$MERGED\"
trustexitcode = true
[diff]
tool = Opendiff
tool = vimdiff
[pull]
ff = only
[push]
default = simple
[difftool]
prompt = false
[difftool "Opendiff"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
tool = vimdiff

View File

@@ -1,3 +0,0 @@
[ -n "$PROFILE" ] && return || readonly PROFILE=1
alias venv=". venv/bin/activate"

0
zsh/dot-zprofile Normal file
View File