From 01a1e9181b6320e02f8818bb1f353a3e5963d2c7 Mon Sep 17 00:00:00 2001 From: ivaquero Date: Sat, 5 Oct 2024 09:00:36 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=F0=9F=93=9D=20update=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 ++- README_CN.md | 7 ++++--- defaults.ps1 | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 78aade89..d548cf0f 100755 --- a/README.md +++ b/README.md @@ -182,7 +182,8 @@ The table below lists the information of specific configuration files: | starship | `ss` | `starship.toml` | built-in | | wezterm | `wz` | `wezterm.lua` | `custom.sh` | | debian | `sc` | `/etc/apt/sources.list` | `oxpod` | -| winget | `w` | `winget.json` | `oxpow` | +| scoop | `w` | `config.json` | `oxpps` | +| winget | `w` | `settings.json` | `oxpow` | | git | `gi` | `.gitignore` | `oxpbg` | | git | `g` | `.gitconfig` | `oxpbg` | | conda | `c` | `.condarc` | `oxppc` | diff --git a/README_CN.md b/README_CN.md index 7a1fb4c7..6301bd31 100644 --- a/README_CN.md +++ b/README_CN.md @@ -168,7 +168,8 @@ Oxidizer 通过 `Homebrew` 或 `Scoop` 管理包和软件,以绕过管理员 | starship | `ss` | `starship.toml` | built-in | | wezterm | `wz` | `wezterm.lua` | `custom.sh` | | debian | `sc` | `/etc/apt/sources.list` | `oxpod` | -| winget | `w` | `winget.json` | `oxpow` | +| scoop | `w` | `config.json` | `oxpps` | +| winget | `w` | `settings.json` | `oxpow` | | git | `gi` | `.gitignore` | `oxpbg` | | git | `g` | `.gitconfig` | `oxpbg` | | conda | `c` | `.condarc` | `oxppc` | @@ -280,8 +281,8 @@ bss pu - `ox-debians` `oxpd`:自启动,包含 `apt` - `ox-windows` `oxpw`:自启动,包含 `winget`、`wsl`· -| 后缀 | 对应操作 | mas `m` | apt `a` | winget `w` | wsl `wsl` | -| :----: | :---------: | :-----: | :-----: | :--------: | :-------: | | +| 后缀 | 对应操作 | mas `m` | apt `a` | winget `w` | wsl `wsl` | +| :---: | :------: | :-----: | :-----: | :--------: | :-------: || | `*h` | help | ✅ | ✅ | ✅ | ✅ | | `*is` | install | ✅ | ✅ | ✅ | ✅ | | `*us` | uninstall | ✅ | ✅ | ✅ | ✅ | diff --git a/defaults.ps1 b/defaults.ps1 index 65d78b5f..f465c5e0 100755 --- a/defaults.ps1 +++ b/defaults.ps1 @@ -68,7 +68,7 @@ $Global:OX_ELEMENT.g = "$HOME\.gitconfig" # terminal ########################################################## -$Global:OX_ELEMENT.wt = "$HOME\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json" +$Global:OX_ELEMENT.wt = "$env:LOCALAPPDATA\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json" if ( Test-Path $Global:OX_ELEMENT.wt ) { $Global:OX_OXIDE.bkwt = "$env:OX_BACKUP\terminal\windows-terminal.jsonc" }