Add README and fix dir for copybuffer

This commit is contained in:
Brad Urani 2016-09-21 17:02:11 -07:00
commit d509d42895
2 changed files with 15 additions and 1 deletions

View file

@ -1,14 +0,0 @@
# copy the active line from the command line buffer
# onto the system clipboard (requires clipcopy plugin)
copybuffer () {
if which clipcopy &>/dev/null; then
echo $BUFFER | clipcopy
else
echo "you must install clipcopy to use this keybinding"
fi
}
zle -N copybuffer
bindkey "^O" copybuffer