Skip to content

NiziL/usb.plugin.zsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

usb.plugin.zsh

This repository hosts a tiny plugin to quickly mount and unmount your USB drives.

Installation

Requirements: lsblk and udisksctl

git clone https://github.com/NiziL/usb.plugin.zsh ~/.oh-my-zsh/custom/plugins/usb

Do not forget to add this plugins in your .zshrc !

Usage

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.

About

oh-my-zsh plugin for udisksctl

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages