|
1 vuosi sitten | |
---|---|---|
LICENSE | 2 vuotta sitten | |
README.md | 1 vuosi sitten | |
mbin.sh | 1 vuosi sitten |
Command line client for mkr/bin and hastebin. Uses bin.mkr.pw as the default instance.
Copy mbin.sh
to your PATH or add an alias to point to the absolute path of
mbin.sh
.
some_command | mbin.sh
mbin.sh # Opens in interactive mode.
mbin.sh -c # Posts clipboard contents to bin
mbin.sh --clipboard # Posts clipboard contents to bin
MKR_BIN
variable. Also, set HASTEBIN=1
if
it is a hastebin instance.
export MKR_BIN="https://bin.example.com/"
(Ensure to keep the
trailing slash) in your shell rc (~/.bashrc
if using bash).EDITOR
variable.
export EDITOR=micro
in your shell rc (~/.bashrc
if using bash).