From f4bf5ebfa367966a25f8d443a18c488a3c340269 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Wed, 30 Nov 2011 19:00:20 +0100 Subject: [PATCH] zshrc: Remove chmod aliases Signed-off-by: Frank Terbeck --- doc/grmlzshrc.t2t | 15 --------------- etc/zsh/zshrc | 10 ---------- 2 files changed, 25 deletions(-) diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index 0e8fb89..0028f91 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -920,21 +920,6 @@ as config file. If invoked by a regular user, start a screen session with users .screenrc config if it exists, else use /etc/grml/screenrc_grml as configuration. -: **rw-** (//chmod 600//) -Grants read and write permission of a file to the owner and nobody else. - -: **rwx** (//chmod 700//) -Grants read, write and execute permission of a file to the owner and nobody -else. - -: **r--** (//chmod 644//) -Grants read and write permission of a file to the owner and read-only to -anybody else. - -: **r-x** (//chmod 755//) -Grants read, write and execute permission of a file to the owner and -read-only plus execute permission to anybody else. - : **S** (//screen//) Short for screen(1). diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 94de48d..90903bc 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2287,16 +2287,6 @@ alias lsold="ls -rtlh *(D.Om[1,10])" # display the oldest files #a2# Display the ten smallest files alias lssmall="ls -Srl *(.oL[1,10])" # display the smallest files -# chmod -#a2# Execute \kbd{chmod 600} -alias rw-='chmod 600' -#a2# Execute \kbd{chmod 700} -alias rwx='chmod 700' -#m# a2 r-{}- Execute \kbd{chmod 644} -alias r--='chmod 644' -#a2# Execute \kbd{chmod 755} -alias r-x='chmod 755' - # some useful aliases #a2# Remove current empty directory. Execute \kbd{cd ..; rmdir $OLDCWD} alias rmcdir='cd ..; rmdir $OLDPWD || cd $OLDPWD' -- 2.1.4