.bashrc备份(for Linux)
PS1="[[\e[32m]\u@\h:[\e[33m]\w ][\e[0m] $ " # Alias alias vi=‘vim’ alias ls=‘ls -hF’ alias ll=‘ls -al’ alias la=‘ls -a’ alias cls=‘clear’ function fgrep(){ find * -type f -name “$1” | xargs grep $2; } alias fgrep=fgrep alias grep=‘grep -rns --color=auto’ alias find=‘find ./ -name’ #alias tg=‘find . -name *.h -or -name *.c -and -type f|xargs ctags -a’ #alias ctags=" brew -prefix /usr/bin/ctags" 来源: CSDN 作者: CMD侠 链接: https://blog.csdn.net/weixin_43965823/article/details/104104471