From 076c6ef34d31f9539ed52f6f4afbc82dd8237d45 Mon Sep 17 00:00:00 2001 From: A Farzat Date: Tue, 17 May 2022 14:42:12 +0900 Subject: Rename the project to weechat-edit This is naming style is more common around weechat plugins. --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 3cb64df..b32d1c6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# edit-weechat +# weechat-edit This simple [weechat](https://weechat.org/) plugin allows you to compose messages in your `$EDITOR`, optionally with a file type. @@ -35,9 +35,10 @@ environment variable, you can set it in weechat. # Installation -Copy the script to `~/.weechat/python/autoload` +Copy the script to $XDG_DATA_HOME/weechat/python/autoload, +~/.local/share/weechat/python/autoload, or `~/.weechat/python/autoload` -``` -mkdir -p ~/.weechat/python/autoload -wget https://raw.githubusercontent.com/keith/edit-weechat/master/edit.py ~/.weechat/python/autoload +```sh +mkdir -p "$XDG_DATA_HOME/weechat/python/autoload" +wget https://gitlab.farzat.xyz/plugins/weechat/weechat-edit/-/raw/master/edit.py "$XDG_DATA_HOME/weechat/python/autoload" ``` -- cgit v1.2.3-70-g09d2