diff --git a/fish/functions/copy.fish b/fish/functions/copy.fish new file mode 100644 index 0000000..c16e0e3 --- /dev/null +++ b/fish/functions/copy.fish @@ -0,0 +1,4 @@ +# Defined in /tmp/fish.x8fmPB/copy.fish @ line 2 +function copy + bash -c "cp -r '$argv[1]' '$dest'; echo -e \\nCopy of '$argv[1]' complete" & +end diff --git a/fish/functions/mount-android.fish b/fish/functions/mount-android.fish new file mode 100644 index 0000000..77bc2d1 --- /dev/null +++ b/fish/functions/mount-android.fish @@ -0,0 +1,10 @@ +# 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