diff options
author | Ben Sima <ben@bsima.me> | 2018-07-05 19:11:07 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2018-07-05 19:11:07 -0700 |
commit | d7a8920d0b82a699414ecc7bd5640cf3e8eb9aeb (patch) | |
tree | 49c9681be10b1f589831b605b7a6266d866c1bd0 | |
parent | e53ad06acfbd2c9195ef8d57ed3b31b3c224c741 (diff) |
Only link if not already linked
-rwxr-xr-x | install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,4 +7,4 @@ HM_PATH=https://github.com/rycee/home-manager/archive/release-18.03.tar.gz nix-shell $HM_PATH -A install -ln -s ~/config ~/.config/nixpkgs +[[ -L ~/config ]] && ln -s ~/config ~/.config/nixpkgs |