[hypnos] 重构 home 下 dotfiles 独立目录结构

This commit is contained in:
2026-01-23 01:20:06 +08:00
parent 2f31fbcd6e
commit 91a6a981c2
14 changed files with 47 additions and 12 deletions
+28
View File
@@ -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"