X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Ffunctions.d%2Fgrml-wallpaper;h=50943eab6ac9c55054f43315fa165192aa988f92;hb=430b9c2ab968caeadd979644e99c3f7b3d91a654;hp=3b6f855c5c9b795152367523ee6186d0ada8c118;hpb=8bdf3e57fdc82885826b23f7cd8c905b6331feb5;p=grml-etc-core.git diff --git a/etc/zsh/functions.d/grml-wallpaper b/etc/zsh/functions.d/grml-wallpaper index 3b6f855..50943ea 100644 --- a/etc/zsh/functions.d/grml-wallpaper +++ b/etc/zsh/functions.d/grml-wallpaper @@ -1,4 +1,4 @@ -if [ -f /usr/share/grml/"$1" ] ; then +if [[ -f /usr/share/grml/"$1" ]] ; then Esetroot -scale /usr/share/grml/"$1" else Esetroot -scale "$@"