mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-29 22:54:45 +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:
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user