dotfiles
shell, editor, ssh.
git clone https://owenrusk.dev/dotfiles.git
commit c7f4a07853bb3365d30e623cd0bcb6e734dbaca1 parent 6582227e047fd38596051b4ad88f7b2ab55401df author Owen Rusk <owen@papermothgames.com> date 2024-03-07 12:34:09 -0600
zsh: follow the link to find aliases.zsh
| zsh/zshrc | +3 | -1 |
diff --git a/zsh/zshrc b/zsh/zshrc index c39764c..37da1f3 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -16,6 +16,8 @@ zstyle ':completion:*' menu select PROMPT='%F{8}%m%f %F{blue}%~%f %(?..%F{red}%?%f )%# '-source ${${(%):-%x}:h}/aliases.zsh+# ~/.zshrc is a link. follow it back here. +dots=${${(%):-%x}:A:h} +source $dots/aliases.zsh [[ -r ~/.zshrc.local ]] && source ~/.zshrc.local