~joshleeb/dotfiles

79fd1c70939a1ef6559d0852b2f4f699b742ae73 — Josh Leeb-du Toit 9 days ago f3a8540
zsh: Add and link malus zprofile
2 files changed, 10 insertions(+), 0 deletions(-)

M bin/malus.sh
A zsh/profile.malus.zsh
M bin/malus.sh => bin/malus.sh +6 -0
@@ 8,6 8,12 @@ source "${REPO_DIR}/bin/utils/bsd.sh"
# shellcheck source=bin/common.sh
source "${REPO_DIR}/bin/common.sh"

function _link_sycamore_zsh {
    symlink "${REPO_DIR}/zsh/profile.malus.zsh" "${HOME}/.zprofile"
}

function link_malus {
    link_common

    _link_sycamore_zsh
}

A zsh/profile.malus.zsh => zsh/profile.malus.zsh +4 -0
@@ 0,0 1,4 @@
# Load Nix
if [ -e "${HOME}/.nix-profile/etc/profile.d/nix.sh" ]; then
    source "${HOME}/.nix-profile/etc/profile.d/nix.sh"
fi