mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-06 03:10:35 +01:00
catimg: fix exit without using source
supresses errors from convert whilen converting, as they are usually just warnings
This commit is contained in:
parent
74e1f50811
commit
0a926f3510
2 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
if [[ -x `which convert` ]]; then
|
||||
function catimg() {
|
||||
source $ZSH/plugins/catimg/catimg.sh $@
|
||||
zsh $ZSH/plugins/catimg/catimg.sh $@
|
||||
}
|
||||
else
|
||||
echo "catimg need convert (ImageMagick) to work)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue