X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=7c71ff4ee19d778ee8b49b43390895ffb151f361;hb=f3c3139072ca5d7ad8ba4d3d1fc091b383ad8f47;hp=b48301d044c5b5da874015515618d572214094df;hpb=ad6af5157b3821e5277f45883b1c7b5c54088494;p=grml-etc-core.git
diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc
index b48301d..7c71ff4 100644
--- a/etc/zsh/zshrc
+++ b/etc/zsh/zshrc
@@ -2423,22 +2423,6 @@ inplaceMkDirs() {
#k# mkdir -p
from string under cursor or marked area
zle -N inplaceMkDirs && bindkey '^XM' inplaceMkDirs
-# Function Usage: doc packagename
-#f5# \kbd{cd} to /usr/share/doc/\textit{package}
-doc() {
- emulate -L zsh
- cd /usr/share/doc/$1 && ls
-}
-_doc() { _files -W /usr/share/doc -/ }
-check_com compdef && compdef _doc doc
-
-#f5# Make screenshot
-sshot() {
- [[ ! -d ~/shots ]] && mkdir ~/shots
- #cd ~/shots ; sleep 5 ; import -window root -depth 8 -quality 80 `date "+%Y-%m-%d--%H:%M:%S"`.png
- cd ~/shots ; sleep 5; import -window root shot_`date --iso-8601=m`.jpg
-}
-
#f5# List files which have been accessed within the last {\it n} days, {\it n} defaults to 1
accessed() {
emulate -L zsh