mirror of
https://github.com/veeso/termscp.git
synced 2026-09-12 15:16:01 -07:00
docs(config): update config dir paths for macOS/Windows in en & zh
Reflect the new config directory locations (~/.config/termscp on macOS, %USERPROFILE%\.termscp on Windows) across the English and Chinese docs, and add a CLAUDE.md note to keep both translations in sync.
This commit is contained in:
@@ -108,3 +108,4 @@ Platform-specific dependencies: SSH and FTP crates use different TLS backends on
|
|||||||
|
|
||||||
- Always run `cargo +nightly fmt --all` and `cargo clippy --no-default-features -- -Dwarnings` after modifying Rust code
|
- Always run `cargo +nightly fmt --all` and `cargo clippy --no-default-features -- -Dwarnings` after modifying Rust code
|
||||||
- Always put plans to `./.claude/plans/`
|
- Always put plans to `./.claude/plans/`
|
||||||
|
- When changing behavior that is documented under `docs/` (paths, config keys, commands, flags, etc.), update BOTH `docs/en-US/` and `docs/zh-CN/` to keep the translations in sync
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ To enter the configuration, press `<CTRL+C>` from the termscp home.
|
|||||||
termscp requires these paths to be accessible:
|
termscp requires these paths to be accessible:
|
||||||
|
|
||||||
- `$HOME/.config/termscp/` on Linux/BSD
|
- `$HOME/.config/termscp/` on Linux/BSD
|
||||||
- `$HOME/Library/Application Support/termscp` on macOS
|
- `$HOME/.config/termscp/` on macOS
|
||||||
- `FOLDERID_RoamingAppData\termscp\` on Windows
|
- `%USERPROFILE%\.termscp\` on Windows
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
|
|
||||||
|
|||||||
@@ -52,12 +52,12 @@ are two quick fixes:
|
|||||||
```
|
```
|
||||||
|
|
||||||
2. Edit your theme by hand. If you use a custom theme, edit the file and add the
|
2. Edit your theme by hand. If you use a custom theme, edit the file and add the
|
||||||
missing key. The theme is located at `$CONFIG_DIR/termscp/theme.toml`, where
|
missing key. The theme is located at `$CONFIG_DIR/theme.toml`, where
|
||||||
`$CONFIG_DIR` is:
|
`$CONFIG_DIR` is:
|
||||||
|
|
||||||
- FreeBSD/Linux: `$HOME/.config/`
|
- FreeBSD/Linux: `$HOME/.config/termscp`
|
||||||
- macOS: `$HOME/Library/Application Support`
|
- macOS: `$HOME/.config/termscp`
|
||||||
- Windows: `%appdata%`
|
- Windows: `%USERPROFILE%\.termscp`
|
||||||
|
|
||||||
Missing keys are reported in the CHANGELOG under `BREAKING CHANGES` for the
|
Missing keys are reported in the CHANGELOG under `BREAKING CHANGES` for the
|
||||||
version you have just installed.
|
version you have just installed.
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ termscp lets you save your favourite hosts as bookmarks, which can then be loade
|
|||||||
Bookmarks are saved, when possible, in the configuration directory:
|
Bookmarks are saved, when possible, in the configuration directory:
|
||||||
|
|
||||||
- `$HOME/.config/termscp/` on Linux/BSD
|
- `$HOME/.config/termscp/` on Linux/BSD
|
||||||
- `$HOME/Library/Application Support/termscp` on macOS
|
- `$HOME/.config/termscp/` on macOS
|
||||||
- `FOLDERID_RoamingAppData\termscp\` on Windows
|
- `%USERPROFILE%\.termscp\` on Windows
|
||||||
|
|
||||||
## Saving passwords
|
## Saving passwords
|
||||||
|
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ termscp 支持大量用户自定义参数。termscp 将这些参数存储在一
|
|||||||
termscp 要求以下路径可访问:
|
termscp 要求以下路径可访问:
|
||||||
|
|
||||||
- Linux/BSD 上的 `$HOME/.config/termscp/`
|
- Linux/BSD 上的 `$HOME/.config/termscp/`
|
||||||
- macOS 上的 `$HOME/Library/Application Support/termscp`
|
- macOS 上的 `$HOME/.config/termscp/`
|
||||||
- Windows 上的 `FOLDERID_RoamingAppData\termscp\`
|
- Windows 上的 `%USERPROFILE%\.termscp\`
|
||||||
|
|
||||||
## 参数
|
## 参数
|
||||||
|
|
||||||
|
|||||||
@@ -40,11 +40,11 @@ termscp 接受以下颜色格式:
|
|||||||
termscp theme <theme.toml>
|
termscp theme <theme.toml>
|
||||||
```
|
```
|
||||||
|
|
||||||
2. 手动编辑你的主题。如果你使用自定义主题,请编辑该文件并添加缺失的键。主题位于 `$CONFIG_DIR/termscp/theme.toml`,其中 `$CONFIG_DIR` 为:
|
2. 手动编辑你的主题。如果你使用自定义主题,请编辑该文件并添加缺失的键。主题位于 `$CONFIG_DIR/theme.toml`,其中 `$CONFIG_DIR` 为:
|
||||||
|
|
||||||
- FreeBSD/Linux:`$HOME/.config/`
|
- FreeBSD/Linux:`$HOME/.config/termscp`
|
||||||
- macOS:`$HOME/Library/Application Support`
|
- macOS:`$HOME/.config/termscp`
|
||||||
- Windows:`%appdata%`
|
- Windows:`%USERPROFILE%\.termscp`
|
||||||
|
|
||||||
缺失的键会在你刚安装的版本的 CHANGELOG 中 `BREAKING CHANGES` 部分列出。
|
缺失的键会在你刚安装的版本的 CHANGELOG 中 `BREAKING CHANGES` 部分列出。
|
||||||
|
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ termscp 允许你将常用的主机保存为书签,随后可从主界面快速
|
|||||||
书签会在可能的情况下保存在配置目录中:
|
书签会在可能的情况下保存在配置目录中:
|
||||||
|
|
||||||
- Linux/BSD 上为 `$HOME/.config/termscp/`
|
- Linux/BSD 上为 `$HOME/.config/termscp/`
|
||||||
- macOS 上为 `$HOME/Library/Application Support/termscp`
|
- macOS 上为 `$HOME/.config/termscp/`
|
||||||
- Windows 上为 `FOLDERID_RoamingAppData\termscp\`
|
- Windows 上为 `%USERPROFILE%\.termscp\`
|
||||||
|
|
||||||
## 保存密码
|
## 保存密码
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user