Add support for hastebin
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# mkr-bin-client
|
||||
|
||||
Command line client for [mkr/bin](https://github.com/MKRhere/bin). Uses
|
||||
Command line client for [mkr/bin](https://github.com/MKRhere/bin) and
|
||||
[hastebin](https://github.com/seejohnrun/haste-server/). Uses
|
||||
[bin.mkr.pw](https://bin.mkr.pw) as the default instance.
|
||||
|
||||
## Requirements
|
||||
@@ -22,7 +23,8 @@ Copy `mbin.sh` to your PATH or add an alias to point to the absolute path of
|
||||
|
||||
## Customization
|
||||
|
||||
+ To use custom instance, export `MKR_BIN` variable.
|
||||
+ To use custom instance, export `MKR_BIN` variable. Also, set `HASTEBIN=1` if
|
||||
it is a hastebin instance.
|
||||
+ Add `export MKR_BIN="https://bin.example.com/"` (Ensure to keep the
|
||||
trailing slash) in your shell rc (`~/.bashrc` if using bash).
|
||||
+ To use an editor other than vim in interactive mode, export `EDITOR` variable.
|
||||
|
||||
Reference in New Issue
Block a user