Skip to content

Commit

Permalink
zshrc: Remove chmod aliases
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
  • Loading branch information
ft authored and mika committed Dec 6, 2011
1 parent fb3386a commit f4bf5eb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
15 changes: 0 additions & 15 deletions doc/grmlzshrc.t2t
Expand Up @@ -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).

Expand Down
10 changes: 0 additions & 10 deletions etc/zsh/zshrc
Expand Up @@ -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'
Expand Down

0 comments on commit f4bf5eb

Please sign in to comment.