1 Star 0 Fork 0

SourceCodeSync/root

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
bash.bashrc 1.67 KB
一键复制 编辑 原始数据 按行查看 历史
Adarsh Addee 提交于 2021-08-21 12:24 +08:00 . Add files via upload
# Command history tweaks:
# - Append history instead of overwriting
# when shell exits.
# - When using history substitution, do not
# exec command immediately.
# - Do not save to history commands starting
# with space.
# - Do not saveROOT"x duplicated commands.
shopt -s histappend
shopt -s histverify
export HISTCONTROL=ignoreboth
# Default command line prompt.
PROMPT_DIRTRIM=2
PS1='\[\e[0;32m\]\w\[\e[0m\] \[\e[0;97m\]\$\[\e[0m\] '
# Handles nonexistent commands.
# If user has entered command which invokes non-available
# utility, command-not-found will give a package suggestions.
if [ -x /data/data/com.termux/files/usr/libexec/termux/command-not-found ]; then
command_not_found_handle() {
/data/data/com.termux/files/usr/libexec/termux/command-not-found "$1"
}
fi
alias root='proot -0 login'
clear
echo -e "\e[1;31m"
echo " ██▀███ ▒█████ ▒█████ ▄▄▄█████▓"
echo "▓██ ▒ ██▒ ▒██▒ ██▒ ▒██▒ ██▒ ▓ ██▒ ▓▒"
echo "▓██ ░▄█ ▒ ▒██░ ██▒ ▒██░ ██▒ ▒ ▓██░ ▒░"
echo "▒██▀▀█▄ ▒██ ██░ ▒██ ██░ ░ ▓██▓ ░ "
echo "░██▓ ▒██▒ ░ ████▓▒░ ░ ████▓▒░ ▒██▒ ░ "
echo "░ ▒▓ ░▒▓░ ░ ▒░▒░▒░ ░ ▒░▒░▒░ ▒ ░░ "
echo " ░▒ ░ ▒░ ░ ▒ ▒░ ░ ▒ ▒░ ░ "
echo " ░░ ░ ░ ░ ░ ▒ ░ ░ ░ ▒ ░ "
echo " ░ ░ ░ ░ ░ "
echo
echo
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/source-code-sync/root.git
git@gitee.com:source-code-sync/root.git
source-code-sync
root
root
main

搜索帮助