X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=6cad0f87f0c598a048b858dd9fcc5c74ccdcdf02;hb=972d7921f19b7edd6e08bac56d73d6aff437614c;hp=7311a2226021b645d689e8a5179febfe533f4023;hpb=9eb3cd4d6ca814376a551ddea2e8905946813301;p=grml-etc-core.git
diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc
index 7311a22..6cad0f8 100644
--- a/etc/zsh/zshrc
+++ b/etc/zsh/zshrc
@@ -3369,24 +3369,6 @@ mkiso() {
mkisofs -o ~/$iso -A $volume -allow-multidot -J -R -iso-level 3 -V $volume -R $files
}
-#f5# Simple thumbnails generator
-genthumbs() {
- rm -rf thumb-* index.html
- echo "
-
-
- Images
-
- " > index.html
- for f in *.(gif|jpeg|jpg|png) ; do
- convert -size 100x200 "$f" -resize 100x200 thumb-"$f"
- echo "
" >> index.html
- done
- echo "
-
-" >> index.html
-}
-
#f5# Set all ulimit parameters to \kbd{unlimited}
allulimit() {
ulimit -c unlimited
@@ -3398,27 +3380,6 @@ allulimit() {
ulimit -t unlimited
}
-#f5# RFC 2396 URL encoding in Z-Shell
-urlencode() {
- emulate -L zsh
- setopt extendedglob
- input=( ${(s::)1} )
- print ${(j::)input/(#b)([^A-Za-z0-9_.!~*\'\(\)-])/%${(l:2::0:)$(([##16]#match))}}
-}
-
-# http://strcat.de/blog/index.php?/archives/335-Software-sauber-deinstallieren...html
-#f5# Log 'make install' output
-mmake() {
- emulate -L zsh
- [[ ! -d ~/.errorlogs ]] && mkdir ~/.errorlogs
- make -n install > ~/.errorlogs/${PWD##*/}-makelog
-}
-
-#f5# Indent source code
-smart-indent() {
- indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs "$@"
-}
-
# highlight important stuff in diff output, usage example: hg diff | hidiff
#m# a2 hidiff \kbd{histring} oneliner for diffs
check_com -c histring && \