X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Ffunctions.d%2Fgrml-wallpaper;h=64c82aa285bd44291200349876c7ba4b149f24ee;hb=5c716b322f326200b851bdd3c8751cb1ab475e6e;hp=3b6f855c5c9b795152367523ee6186d0ada8c118;hpb=8ac2e84c61fe067dc2676cbf4b29d431c209bcf8;p=grml-etc-core.git diff --git a/etc/zsh/functions.d/grml-wallpaper b/etc/zsh/functions.d/grml-wallpaper index 3b6f855..64c82aa 100644 --- a/etc/zsh/functions.d/grml-wallpaper +++ b/etc/zsh/functions.d/grml-wallpaper @@ -1,5 +1,6 @@ -if [ -f /usr/share/grml/"$1" ] ; then - Esetroot -scale /usr/share/grml/"$1" +# vim:filetype=zsh +if [[ -f /usr/share/grml/"$1" ]] ; then + Esetroot -scale /usr/share/grml/"$1" else - Esetroot -scale "$@" + Esetroot -scale "$@" fi