[hypnos] 重构 home 下 dotfiles 独立目录结构
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# Created by newuser for 5.9
|
||||
|
||||
ZSHD="$HOME/.zsh.d"
|
||||
|
||||
if [[ ! -v ZSH_GRML_SOURCED ]]; then
|
||||
source $ZSHD/grml-zshrc
|
||||
fi
|
||||
|
||||
source "$ZSHD/rsync.zsh"
|
||||
source "$ZSHD/misc.zsh"
|
||||
source "$ZSHD/pdf.zsh"
|
||||
source "$ZSHD/completion.zsh"
|
||||
source "$ZSHD/modern-utils.zsh"
|
||||
source "$ZSHD/develop.zsh"
|
||||
source "$ZSHD/nix.zsh"
|
||||
|
||||
# allow using # at begin
|
||||
setopt interactivecomments
|
||||
# give me back the normal `#, ^, ~` !!!
|
||||
unsetopt extended_glob
|
||||
|
||||
# alias
|
||||
export EDITOR=helix
|
||||
alias edit=$EDITOR
|
||||
alias vim=helix
|
||||
alias dc="docker compose"
|
||||
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
Reference in New Issue
Block a user