文件名称:awesome-shell-prompt-colors:令人赞叹的外壳提示色!
文件大小:57KB
文件格式:ZIP
更新时间:2024-04-10 14:01:19
Shell
令人敬畏的贝壳提示颜色 在此存储库中,您将找到可定制的bash和zsh脚本,这些脚本可使您的shell提示符如下所示: 当前,该存储库仅包含bash和zsh实现,但欢迎更多实现。脚本位于/src 。 对于不耐烦的人,我已经将您在src/找到的内容复制并粘贴了: 对于重击 function buildColorPrompt() { # I always like showing what directory I am in (special character "\w" in PS1) - store the equivalent in this 'directory' variable directory= $( pwd ) # Modify these to whatever you'd like! PROMPT_TEXT= " awesome-
【文件预览】:
awesome-shell-prompt-colors-master
----src()
--------build-colored-prompt-bash.sh(3KB)
--------img()
--------build-colored-prompt-zsh.sh(2KB)
----README.md(6KB)