mirror of
https://github.com/SL-RU/ranger_udisk_menu.git
synced 2025-02-05 17:55:04 +01:00
Add __init__.py
This removes the need to add anything to commads.py for installation.
This commit is contained in:
parent
c892d44717
commit
9817561478
2 changed files with 2 additions and 7 deletions
|
@ -9,19 +9,13 @@ This script draws menu to mount and unmount partitions using udisksctl and ncurs
|
||||||
- lsblk 2.3 or newer
|
- lsblk 2.3 or newer
|
||||||
|
|
||||||
# How to install
|
# 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
|
```Bash
|
||||||
cd ~/.config/ranger/plugins
|
cd ~/.config/ranger/plugins
|
||||||
git clone https://github.com/SL-RU/ranger_udisk_menu
|
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
|
Thats all
|
||||||
|
|
||||||
# How to use
|
# How to use
|
||||||
|
|
1
__init__.py
Normal file
1
__init__.py
Normal file
|
@ -0,0 +1 @@
|
||||||
|
from .mounter import mount
|
Loading…
Reference in a new issue