From: Frank Terbeck Date: Wed, 30 Nov 2011 18:00:20 +0000 (+0100) Subject: zshrc: Remove chmod aliases X-Git-Url: https://git.grml.org/?a=commitdiff_plain;h=c652b6966d96b26dd5db1c1baecde27f4443f5d9;p=grml-etc-core.git zshrc: Remove chmod aliases Signed-off-by: Frank Terbeck --- 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 776afe3..191553f 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2286,16 +2286,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'