diff options
| author | Mike Vink <59492084+ivi-vink@users.noreply.github.com> | 2025-01-21 17:51:12 +0100 |
|---|---|---|
| committer | Mike Vink <59492084+ivi-vink@users.noreply.github.com> | 2025-01-21 17:51:12 +0100 |
| commit | 1c0865add6a293d2521aaa7424eb43efb2faad36 (patch) | |
| tree | a4799771a69be1866af591fcf90098d21157ceaf | |
| parent | dc74b18ee87287a419a56d673b93547697a783ba (diff) | |
symlinks
| -rw-r--r-- | justfile | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -65,9 +65,13 @@ NIXNAME := "vm-aarch64" " @symlinks: - ln -sf /nix-config/mut/DefaultKeyBinding.dict ~/Library/KeyBindings/DefaultKeyBinding.dict - ln -sf /nix-config/mut/aerospace ~/.config/aerospace - ln -sf /nix-config/mut/ghostty ~/.config/ghostty - ln -sf /nix-config/mut/nushell ~/.config/nushell - ln -sf /nix-config/mut/neovim ~/.config/nvim - ln -sf /nix-config/mut/k9s ~/.config/k9s + #!/usr/bin/env bash + set -x + ln -sf /nix-config/mut/DefaultKeyBinding.dict ~/Library/KeyBindings/DefaultKeyBinding.dict + ! [ -d ~/.config/aerospace ] && ln -sf /nix-config/mut/aerospace ~/.config/aerospace + ! [ -d ~/.config/ghostty ] && ln -sf /nix-config/mut/ghostty ~/.config/ghostty + ! [ -d ~/.config/nushell ] && ln -sf /nix-config/mut/nushell ~/.config/nushell + ! [ -d ~/.config/nvim ] && ln -sf /nix-config/mut/neovim ~/.config/nvim + ! [ -d ~/.config/k9s ] && ln -sf /nix-config/mut/k9s ~/.config/k9s + ! [ -d ~/.config/carapace ] && ln -sf /nix-config/mut/carapace ~/.config/carapace + true |
