标签:输入 html tps until 环境变量配置 bbs list 登录 需要
Command-Z 撤消
Command-X 剪切
Command-C 拷贝(Copy)
Command-V 粘贴
Command-A 全选(All)
下两个待定?
Command-S 保存(Save)
Command-F 查找(Find)
/Applications/CLion.app/Contents/bin/clion.vmoptions
~ $pwd
/var/root
~ $cat .bash_profile
#enables colorin the terminal bash shell export
export CLICOLOR=1
#setsup thecolor scheme for list export
export LSCOLORS=gxfxcxdxbxegedabagacad
#sets up theprompt color (currently a green similar to linux terminal)
export PS1=‘\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$ ‘
#enables colorfor iTerm
export TERM=xterm-256color
alias wk="cd /Users/admin/wangzhiyi"
alias ll="ls -lrta"
find_git_branch () {
local dir=. head
until [ "$dir" -ef / ]; do
if [ -f "$dir/.git/HEAD" ]; then
head=$(< "$dir/.git/HEAD")
if [[ $head = ref:\ refs/heads/* ]]; then
git_branch=" (${head#*/*/})"
elif [[ $head != ‘‘ ]]; then
git_branch=" → (detached)"
else
git_branch=" → (unknow)"
fi
return
fi
dir="../$dir"
done
git_branch=‘‘
}
PROMPT_COMMAND="find_git_branch; $PROMPT_COMMAND"
black=$‘\[\e[1;30m\]‘
red=$‘\[\e[1;31m\]‘
green=$‘\[\e[1;32m\]‘
yellow=$‘\[\e[1;33m\]‘
blue=$‘\[\e[1;34m\]‘
magenta=$‘\[\e[1;35m\]‘
cyan=$‘\[\e[1;36m\]‘
white=$‘\[\e[1;37m\]‘
normal=$‘\[\e[m\]‘
PS1="\[\033[0;31m\]\u \[\033[00;36m\]\W$yellow\$git_branch \[\033[0;33m\]$\[\e[1;37m\]"
标签:输入 html tps until 环境变量配置 bbs list 登录 需要
原文地址:https://www.cnblogs.com/wangzhiyi/p/9344786.html