gitconfig and envs

This commit is contained in:
Dict Xiong 2022-11-06 13:52:08 +08:00
parent 48153949c1
commit 65990447bb
2 changed files with 18 additions and 3 deletions

View File

@ -3,5 +3,15 @@
name = Dict Xiong name = Dict Xiong
[core] [core]
editor = vim editor = vim
# test this by `git update-index --test-untracked-cache`
# disable this by setting `GIT_DISABLE_UNTRACKED_CACHE`
untrackedCache = true
[push] [push]
autoSetupRemote = true autoSetupRemote = true
[branch]
# Show most recently changed branches first.
sort = -committerdate
[help]
autocorrect = 1
[init]
defaultBranch = main

View File

@ -1,9 +1,14 @@
# env # env for shell
export TERM="xterm-256color" export TERM="xterm-256color"
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
export LANG=C.UTF-8 export LANG=C.UTF-8
export DOTFILES=$( cd "$( dirname "${BASH_SOURCE[0]:-${(%):-%x}}" )" && pwd ) export DOTFILES=$( cd "$( dirname "${BASH_SOURCE[0]:-${(%):-%x}}" )" && pwd )
export PATH="$PATH:$DOTFILES/scripts" export PATH="$PATH:$DOTFILES/scripts"
export EDITOR='vim'
# env for apps
export PYTHONIOENCODING='UTF-8'
export GPG_TTY=$(tty)
export LESS_TERMCAP_md=$'\E[01;33m'
# antigen # antigen
if [[ -z "$DFS_NO_WALL" ]]; then if [[ -z "$DFS_NO_WALL" ]]; then