• Operand
  • # (b)ring mi - belles.

gram:build

> ./config/nushell/bind.nu

Lenses
(coming soon!)


def bind [source:string, place:path] {
  if not ($place | path exists) { mkdir $place;
    sudo mount -t nfs -o nolock $"10.0.0.192:/volume1/($source)" $place;
  } }

def "bind cache" [] { bind cache.channel ~/.cache.channel; }
def unbind [place:path] { sudo umount $place; rmdir $place; }

def "bind check" [] {}