diff --git a/.config/fish/config_wsl.fish b/.config/fish/config_wsl.fish index b859c82..8942888 100644 --- a/.config/fish/config_wsl.fish +++ b/.config/fish/config_wsl.fish @@ -1,3 +1,5 @@ # NAS -sudo mount -t drvfs 'Y:' /mnt/y -o metadata,uid=1000,gid=1000 2>/dev/null & +if ping -c 1 192.168.1.200 + sudo mount -t drvfs 'Y:' /mnt/y -o metadata,uid=1000,gid=1000 2>/dev/null & +end