随笔-开发环境-安装oh-my-bash

https://github.com/ohmybash/oh-my-bash

install

curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh > omybash-install.sh
export OSH_REPOSITORY=https://githubfast.com/ohmybash/oh-my-bash.git; bash -x omybash-install.sh 

修改主题

vim ~/.bashrc 编辑OSH_THEME

oh-my-bash

使用font主题:并修改theme(个人喜好,编辑~/.oh-my-bash/theme/主题名/主题名.theme.sh,改成显示全路径,输入在新的一行)

vim ~/.oh-my-bash/themes/font/font.theme.sh
PS1="${_omb_prompt_green}bin| ${_omb_prompt_bold_teal}\w $(scm_prompt_char_info)${ret_status}${_omb_prompt_normal}"
PS1+="\n${_omb_prompt_reset_color}\$ "

PS1: ./themes/font/font.theme.sh

posted @   LiYanbin  阅读(39)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律
点击右上角即可分享
微信分享提示