You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dotfiles/fish/functions/mount-android.fish

11 lines
274 B
Fish

# Defined in /tmp/fish.UD1xYr/mount-android.fish @ line 2
function mount-android
if test "$argv[1]" = '-u'
sudo fusermount -u /tmp/android
and echo "Unmounted android device"
else
mkdir -p /tmp/android
sudo jmtpfs -o allow_other,auto_unmount /tmp/android
end
end