mirror of
https://github.com/rydesun/dotfiles.git
synced 2025-12-26 14:44:58 +08:00
Update zshrc
This commit is contained in:
parent
84400b5f48
commit
86e17bb681
1 changed files with 3 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ fpath=(${ZDOTDIR}/functions ${ZDOTDIR}/Completion $fpath)
|
|||
declare -A ZINIT
|
||||
ZINIT[HOME_DIR]=${XDG_DATA_HOME}/zinit
|
||||
ZINIT[BIN_DIR]=${ZINIT[HOME_DIR]}/bin
|
||||
ZINIT[ZCOMPDUMP_PATH]=${XDG_CACHE_HOME}/zsh/zcompdump-${ZSH_VERSION}
|
||||
source ${ZINIT[BIN_DIR]}/zinit.zsh
|
||||
|
||||
zinit light zdharma/fast-syntax-highlighting # 语法高亮
|
||||
|
|
@ -196,6 +197,8 @@ alias ls='ls --color=auto --time-style=iso --human-readable'
|
|||
alias grep='grep --color=auto'
|
||||
alias diff='diff --color=auto'
|
||||
alias mv='mv -i'
|
||||
alias mitmproxy="mitmproxy --set confdir=$XDG_CONFIG_HOME/mitmproxy"
|
||||
alias mitmweb="mitmweb --set confdir=$XDG_CONFIG_HOME/mitmproxy"
|
||||
|
||||
alias sl='ls'
|
||||
alias l='ls -l'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue