mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-04-24 13:06:53 +08:00
gitconfig and envs
This commit is contained in:
parent
48153949c1
commit
65990447bb
14
.gitconfig2
14
.gitconfig2
|
@ -1,7 +1,17 @@
|
|||
[user]
|
||||
email = me@beardic.cn
|
||||
name = Dict Xiong
|
||||
email = me@beardic.cn
|
||||
name = Dict Xiong
|
||||
[core]
|
||||
editor = vim
|
||||
# test this by `git update-index --test-untracked-cache`
|
||||
# disable this by setting `GIT_DISABLE_UNTRACKED_CACHE`
|
||||
untrackedCache = true
|
||||
[push]
|
||||
autoSetupRemote = true
|
||||
[branch]
|
||||
# Show most recently changed branches first.
|
||||
sort = -committerdate
|
||||
[help]
|
||||
autocorrect = 1
|
||||
[init]
|
||||
defaultBranch = main
|
7
.zshrc2
7
.zshrc2
|
@ -1,9 +1,14 @@
|
|||
# env
|
||||
# env for shell
|
||||
export TERM="xterm-256color"
|
||||
export LC_ALL=C.UTF-8
|
||||
export LANG=C.UTF-8
|
||||
export DOTFILES=$( cd "$( dirname "${BASH_SOURCE[0]:-${(%):-%x}}" )" && pwd )
|
||||
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
|
||||
if [[ -z "$DFS_NO_WALL" ]]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user