当前位置:网站首页>liunx PS1 设置
liunx PS1 设置
2022-08-10 01:56:00 【周易不易】
1
PS1="\[\e[1;34m\]\[\e[1;36m\]\u\[\e[1;0m\]@\[\e[1;32m\]\h \[\e[1;0m\]in \[\e[1;33m\]\w \[\e[1;0m\][\[\e[1;0m\]\t\[\e[1;0m\]]\n\[\e[1;31m\]\\$\[\e[0m\] "
2
PS1="[\[\e[1;34m\]\[\e[1;36m\]\u\[\e[1;0m\]@\[\e[1;32m\]\h \[\e[1;0m\]in \[\e[1;33m\]\w \[\e[1;0m\]\[\e[1;0m\]\t\[\e[1;0m\]]\n\[\e[1;31m\]\\$\[\e[0m\] "
3
PS1="\[\e[1;34m\]\[\e[1;36m\]\u\[\e[1;0m\]@\[\e[1;32m\]\h \[\e[1;0m\]in \[\e[1;33m\]\w \[\e[1;0m\][\[\e[1;0m\]\t\[\e[1;0m\]]\[\e[1;31m\]\\$\[\e[0m\] "
4
PS1="[\[\e[1;34m\]\[\e[1;36m\]\u\[\e[1;0m\]@\[\e[1;32m\]\h \[\e[1;0m\]in \[\e[1;33m\]\w \[\e[1;0m\]\[\e[1;0m\]\t\[\e[1;0m\]]\[\e[1;31m\]\\$\[\e[0m\] "
5
PS1="[\[\e[1;34m\]\[\e[1;36m\]\u\[\e[1;0m\]@\[\e[1;32m\]\h \[\e[1;0m\]in\e[4m`pwd`\e[m\e[1;37m \[\e[1;0m\]\[\e[1;0m\]\t\[\e[1;0m\]]\n\[\e[1;31m\]\\$\[\e[0m\] "
6
PS1='[\[\e[1;35m\]\u\[\e[1;33m\]@\[\e[1;32m\]\h \[\e[1;0m\]\e[4m`pwd`\e[m\e[1;37m \[\e[1;0m\]\[\e[1;34m\]\t\[\e[1;0m\]]\n\[\e[1;31m\]\$\[\e[0m\] '
说明: 1,2 换行;3,4 不换行 5换行加路径下划线 6换行加下划线 时间加颜色
边栏推荐
猜你喜欢
随机推荐
Unity reports Unsafe code may only appear if compiling with /unsafe. Enable “Allow ‘unsafe’ code” in Pla
Data Governance (5): Metadata Management
OpenCV图像处理学习四,像素的读写操作和图像反差函数操作
Deep Learning (5) CNN Convolutional Neural Network
[论文阅读] Multimodal Unsupervised Image-to-Image Translation
按钮倒计时提醒
sqlmap dolog外带数据
one of the variables needed for gradient computation has been modified by an inplace
In automated testing, test data is separated from scripts and parameterized methods
Maya制作赛博朋克机器人模型
用于X射线光学器件的哈特曼波前传感器
[语法糖] 关于类别字符串到类别数字id的映射
[论文阅读] Diverse Image-to-Image Translation via Disentangled Representations
【SSRF漏洞】实战演示 超详细讲解
ECCV 2022 Oral | CCPL: 一种通用的关联性保留损失函数实现通用风格迁移
浏览器中的history详解
空间复杂度为O(1)的归并排序
官宣出自己的博客啦
Process management and task management
翻译软件免费版下载-免费版翻译软件下载