1 Star 1 Fork 0

cupid_ly / free-shell

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
install-git.sh 384 Bytes
一键复制 编辑 原始数据 按行查看 历史
cupid_ly 提交于 2021-12-12 11:16 . add some script
#!/bin/bash
sudo apt update
sudo apt install -y git git-flow
git clone https://github.com/magicmonty/bash-git-prompt.git ~/.bash-git-prompt --depth=1
echo 'if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then' | tee -a ~/.bashrc
echo ' GIT_PROMPT_ONLY_IN_REPO=1' | tee -a ~/.bashrc
echo 'source $HOME/.bash-git-prompt/gitprompt.sh' | tee -a ~/.bashrc
echo 'fi' | tee -a ~/.bashrc
Shell
1
https://gitee.com/liuyu_cupid/free-shell.git
git@gitee.com:liuyu_cupid/free-shell.git
liuyu_cupid
free-shell
free-shell
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891