projects
/
grml-etc-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
zshrc: Add directory based profiles
[grml-etc-core.git]
/
etc
/
zsh
/
functions.d
/
grml-wallpaper
diff --git
a/etc/zsh/functions.d/grml-wallpaper
b/etc/zsh/functions.d/grml-wallpaper
index
3b6f855
..
64c82aa
100644
(file)
--- 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
else
- Esetroot -scale "$@"
+
Esetroot -scale "$@"
fi
fi