Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
e4f6f169
Unverified
Commit
e4f6f169
authored
Jul 12, 2021
by
Marc Cornellà
Browse files
fix(copybuffer): show error below the command line
parent
5b4e3ee7
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/copybuffer/copybuffer.plugin.zsh
View file @
e4f6f169
...
@@ -5,7 +5,7 @@ copybuffer () {
...
@@ -5,7 +5,7 @@ copybuffer () {
if
which clipcopy &>/dev/null
;
then
if
which clipcopy &>/dev/null
;
then
printf
"%s"
"
$BUFFER
"
| clipcopy
printf
"%s"
"
$BUFFER
"
| clipcopy
else
else
echo
"clipcopy
function
not found. Please make sure you have Oh My Zsh installed correctly."
zle
-M
"clipcopy not found. Please make sure you have Oh My Zsh installed correctly."
fi
fi
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment