diff --git a/README.md b/README.md index 07d5114..16bd0c0 100644 --- a/README.md +++ b/README.md @@ -9,19 +9,13 @@ This script draws menu to mount and unmount partitions using udisksctl and ncurs - lsblk 2.3 or newer # How to install -Firstly you need to clone this repo to the plugins directory of ranger +You need to clone this repo to the plugins directory of ranger ```Bash cd ~/.config/ranger/plugins git clone https://github.com/SL-RU/ranger_udisk_menu ``` -Then you need to add to `~/.config/ranger/commands.py` line: - -```Python3 -from plugins.ranger_udisk_menu.mounter import mount -``` - Thats all # How to use diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..e25cfd2 --- /dev/null +++ b/__init__.py @@ -0,0 +1 @@ +from .mounter import mount \ No newline at end of file