diff --git a/README.md b/README.md index 0944af7..20bd216 100644 --- a/README.md +++ b/README.md @@ -15,4 +15,5 @@ | [HTML](html/README.md) | HTML 示例 | | [Nginx](nginx) | Nginx 配置和示例 | | [Python](python/README.md) | Python 脚本 | +| [Startship](startship) | Startship 配置 | | [uv](uv/README.md) | uv 脚本 | diff --git a/nginx/37point2.cn/index.html b/nginx/37point2.cn/index.html index cc74ecd..a747010 100644 --- a/nginx/37point2.cn/index.html +++ b/nginx/37point2.cn/index.html @@ -842,7 +842,7 @@
- 备案 @@ -851,12 +851,12 @@ target="_blank" > 公网安备 号 - + --> ICP备号皖ICP备2023005836号-2
diff --git a/python/README.md b/python/README.md index b06638c..a8a8414 100644 --- a/python/README.md +++ b/python/README.md @@ -4,12 +4,12 @@ 1. 下载脚本: - ```bash - curl -O https://i.37point2.cn/i/script/raw/main/python/delete_empty_folders.py - ``` + ```bash + curl -fSL https://i.37point2.cn/i/script/raw/main/python/delete_empty_folders.py > delete_empty_folders.py + ``` 2. 执行下载的脚本: - ```bash - python delete_empty_folders.py - ``` \ No newline at end of file + ```bash + python delete_empty_folders.py + ``` diff --git a/startship/README.md b/startship/README.md new file mode 100644 index 0000000..54a5683 --- /dev/null +++ b/startship/README.md @@ -0,0 +1,31 @@ +# Startship + +> [Startship](https://starship.rs/) + +## Gruvbox Rainbow Preset + +1. 下载预设文件: + + ```bash + starship preset gruvbox-rainbow -o ~/.config/starship.toml + ``` + + > [!TIP] + > **Windows** + > + > ```bash + > starship preset gruvbox-rainbow -o C:/Users/i/.config/starship.toml + > ``` + +2. 编辑预设文件: + + ```bash + vim ~/.config/starship.toml + ``` + + > [!TIP] + > **Windows** + > + > ```bash + > notepad -o C:/Users/i/.config/starship.toml + > ```