~joshleeb/dotfiles

ref: 9c40caedd6dd7e5187a8c480ab921e1badbaf2c1 dotfiles/bin/malus.sh -rw-r--r-- 479 bytes
9c40caedJosh Leeb-du Toit idea: Link in malus a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env bash

REPO_DIR=$(git rev-parse --show-toplevel)

# shellcheck source=bin/utils/bsd.sh
source "${REPO_DIR}/bin/utils/bsd.sh"

# shellcheck source=bin/common.sh
source "${REPO_DIR}/bin/common.sh"

function _link_malus_idea {
    symlink "${REPO_DIR}/idea/vimrc" "${HOME}/.ideavimrc"
}

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

function link_malus {
    link_common

    _link_malus_idea
    _link_malus_zsh
}