Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add obsidian CLI for macos to fish

+10 -3
+10 -3
fish/config.fish
··· 61 61 set -Ux NATS_KEY /srv/nats/touma-nixos@packetlost.dev/key.pem 62 62 63 63 # Janet config 64 - set -Ux JANET_TREE ~/.local/share/janet 65 - set -Ux JANET_PATH $JANET_TREE/lib 66 - fish_add_path $JANET_TREE/bin 64 + if type -q "janet" 65 + set -Ux JANET_TREE ~/.local/share/janet 66 + set -Ux JANET_PATH $JANET_TREE/lib 67 + fish_add_path $JANET_TREE/bin 68 + end 69 + 70 + # If we're on a MacOS machine with Obsidian installed, add the CLI to PATH 71 + if test -d "/Applications/Obsidian.app/Contents/MacOS" 72 + fish_add_path "/Applications/Obsidian.app/Contents/MacOS" 73 + end 67 74 68 75 # Keybindings 69 76 fish_default_key_bindings