- 配置文件:
~/.xonshrc
-
命令提示符格局
\n$PROMPT = '{env_name}{BOLD_GREEN}{user}@{hostname}{BOLD_BLUE} {cwd}{branch_color}{curr_branch: {}}{RESET} {BOLD_BLUE}\n{prompt_end}{RESET}'
-
ll
别名aliases['ll'] = 'ls -al'
本文出自 qbit snap
~/.xonshrc
命令提示符格局
\n$PROMPT = '{env_name}{BOLD_GREEN}{user}@{hostname}{BOLD_BLUE} {cwd}{branch_color}{curr_branch: {}}{RESET} {BOLD_BLUE}\n{prompt_end}{RESET}'
ll
别名
aliases['ll'] = 'ls -al'
本文出自 qbit snap