Split os-specific zsh-aliases into their own files

This commit is contained in:
Eric Torres
2022-12-13 20:54:24 -08:00
parent d3b92cb5fe
commit ca4d693a8b
3 changed files with 21 additions and 19 deletions

View File

@ -33,15 +33,15 @@ alias pacsearch='pacman -Ss'
alias myip='curl ifconfig.me'
# zsh
alias zdotdir='cd -- "$ZDOTDIR"'
alias zshaliases='${EDITOR} -- "$XDG_CONFIG_HOME"/zsh-macos/00-aliases.zsh'
alias zbindings='${EDITOR} -- "$XDG_CONFIG_HOME"/zsh/00-keybindings.zsh'
alias zconf='cd -- $ZDOTDIR'
alias zhist='${EDITOR} -- "${HISTFILE}"'
alias zpath='${EDITOR} -- "$XDG_CONFIG_HOME"/zsh-macos/path.zsh'
alias zprompt='${EDITOR} -- "$ZDOTDIR"/prompt.zsh'
alias zshrc='${EDITOR} -- "$ZDOTDIR"/.zshrc'
alias zshenv='${EDITOR} -- "$ZDOTDIR"/.zshenv'
alias zdotdir='cd -- ${ZDOTDIR}'
alias zshaliases='${EDITOR} -- "${XDG_CONFIG_HOME}"/zsh-linux/00-macos-aliases.zsh'
alias zbindings='${EDITOR} -- ${ZDOTDIR}/keybindings.zsh'
alias zhist='${EDITOR} -- ${HISTFILE}'
alias zpath='${EDITOR} -- ${ZDOTDIR}/path.zsh'
alias zprompt='${EDITOR} -- ${ZDOTDIR}/prompt.zsh'
alias zshrc='${EDITOR} -- ${ZDOTDIR}/.zshrc'
alias zshrefresh='source -- ${ZDOTDIR}/.zshrc'
alias zshenv='${EDITOR} -- ${ZDOTDIR}/.zshenv'
# ---------- Parameterized Aliases ----------
# Use macOS-specific command line flags