更新 开机脚本.md

This commit is contained in:
chicrobot committed 2026-07-21 03:56:42 +08:00
1 parent 430afa85ab
commit d82fe27dc3
1 file changed
+7 -6
+7 -6
View File
@@ -1,16 +1,17 @@
# 1、termux开机脚本 # 1、termux开机脚本
1. ../usr/etc/bash.bashrc 1. ../usr/etc/motd欢迎消息
''' 2. ../usr/etc/bash.bashrc
```
echo -e "\e[1;35m" echo -e "\e[1;35m"
echo "开机脚本:../usr/etc/bash.bashrc" echo "开机脚本:../usr/etc/bash.bashrc"
echo -e "\e[0m" echo -e "\e[0m"
''' ```
2. ../home/.bashrc 3. ../home/.bashrc
''' ```
echo -e "\e[1;35m" echo -e "\e[1;35m"
echo "开机脚本:../usr/etc/bash.bashrc" echo "开机脚本:../usr/etc/bash.bashrc"
echo -e "\e[0m" echo -e "\e[0m"
''' ```
# 2、 ubuntu开机脚本 # 2、 ubuntu开机脚本
1. .zprofile,只在登录shell启动时执行一次 1. .zprofile,只在登录shell启动时执行一次
2. .zshrc 2. .zshrc