From f3c3139072ca5d7ad8ba4d3d1fc091b383ad8f47 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Tue, 29 Nov 2011 14:54:58 +0100 Subject: [PATCH] zshrc: Remove sshot Signed-off-by: Frank Terbeck --- doc/grmlzshrc.t2t | 7 ------- etc/zsh/zshrc | 7 ------- 2 files changed, 14 deletions(-) diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index a045a1e..c058db9 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -620,13 +620,6 @@ Compresses/archives the file given as first parameter. Takes an optional second argument, which denotes the compression/archive type as typical filename extension; defaults to "tar.gz". -: **sshot()** -Creates directory named shots in user's home directory, if it does not yet -exist and changes current working directory to it. Then sleeps 5 seconds, -so you have plenty of time to switch desktops/windows. Then makes a screenshot -of the current desktop. The result is stored in ~/shots to a timestamped -jpg file. - : **ssl-cert-fingerprints** Prints the SHA512, SHA256, SHA1 and MD5 digest of a x509 certificate. First and only parameter must be a file containing a certificate. Use diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index efd21cf..7c71ff4 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2423,13 +2423,6 @@ inplaceMkDirs() { #k# mkdir -p from string under cursor or marked area zle -N inplaceMkDirs && bindkey '^XM' inplaceMkDirs -#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 -- 2.1.4