#!/bin/env fish function chooseDisk -a result message set -l file (mktemp) fish "$(status dirname)/../../lib/modules/fileSystems/choose-disk.fish" "$file" "$message" set -g "$result" (cat "$file") end