This repository hosts a tiny plugin to quickly mount and unmount your USB drives.
Requirements: lsblk and udisksctl
git clone https://github.com/NiziL/usb.plugin.zsh ~/.oh-my-zsh/custom/plugins/usbDo not forget to add this plugins in your .zshrc !
usb list to list the connected drives (using lsblk -I 8).
usb mount sda1 to mount /dev/sda1 using udisksctl.
usb umount sda1 to unmount /dev/sda1.
usb go sda1 to move to the mountpoint of /dev/sda1.
The zsh completion automatically list the available partitions to mount or unmount.