u
This commit is contained in:
18
.bashrc
18
.bashrc
@@ -32,6 +32,15 @@ export CVS_RSH=ssh
|
||||
#fi
|
||||
|
||||
# Define aliases:
|
||||
# Think twice before deletion. Though troublesome but strongly recommended!
|
||||
alias rm='rm -i'
|
||||
# Request X tunneling for SSH:
|
||||
alias ssh='ssh -C -X'
|
||||
# Always use compression for CVS:
|
||||
alias cvs='cvs -z9'
|
||||
|
||||
alias ps='ps -elf'
|
||||
|
||||
# Always list long directory and time.
|
||||
if uname | grep 'Darwin';
|
||||
then
|
||||
@@ -48,15 +57,6 @@ fi
|
||||
#export CLICOLOR='Yes' #是否输出颜色
|
||||
#export LSCOLORS='CxfxcxdxbxegedabagGxGx' #指定颜色
|
||||
|
||||
# Think twice before deletion. Though troublesome but strongly recommended!
|
||||
alias rm='rm -i'
|
||||
# Request X tunneling for SSH:
|
||||
alias ssh='ssh -C -X'
|
||||
# Always use compression for CVS:
|
||||
alias cvs='cvs -z9'
|
||||
|
||||
alias ps='ps -elf'
|
||||
|
||||
# Set default file permission mask:
|
||||
umask 022 # rwxr-xr-x
|
||||
|
||||
|
||||
Reference in New Issue
Block a user