This commit is contained in:
陆柯 2019-12-02 19:01:13 +08:00
parent 080c8e52bc
commit 6deb495f8d

15
.bashrc
View File

@ -33,8 +33,17 @@ export CVS_RSH=ssh
# Define aliases: # Define aliases:
# Always list long directory and time. # Always list long directory and time.
alias ll='ls -l --color=auto' # --time-style=long-iso --color=auto' if uname | grep 'Darwin'; then
alias l='ls -Al --color=auto' alias l='ls -l'
alias ll='ls -lA'
else
alias l='ls -l --color=auto' # --time-style=long-iso --color=auto'
alias ll='ls -Al --color=auto'
fi
#export LS_OPTIONS='--color=auto' # 如果没有指定,则自动选择颜色
#export CLICOLOR='Yes' #是否输出颜色
#export LSCOLORS='CxfxcxdxbxegedabagGxGx' #指定颜色
# Think twice before deletion. Though troublesome but strongly recommended! # Think twice before deletion. Though troublesome but strongly recommended!
alias rm='rm -i' alias rm='rm -i'
# Request X tunneling for SSH: # Request X tunneling for SSH:
@ -43,7 +52,7 @@ alias ssh='ssh -C -X'
alias cvs='cvs -z9' alias cvs='cvs -z9'
alias ps='ps -elf' alias ps='ps -elf'
alias emacs='emacs -nw' alias emacsnw='emacs -nw'
# Set default file permission mask: # Set default file permission mask:
umask 022 # rwxr-xr-x umask 022 # rwxr-xr-x