Skip to content

Commit

Permalink
feat: change ~/.zshrc.user to ~/.zshrc.private
Browse files Browse the repository at this point in the history
  • Loading branch information
ShangjinTang committed Sep 30, 2024
1 parent 4beff70 commit 6b655cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Partially supported:
If you are in China Mainland, please use a proxy to bypass GFW before installation. Otherwise some steps may fail.

```bash
vim ~/.zshrc.user
vim ~/.zshrc.private
```

```bash
Expand Down Expand Up @@ -73,7 +73,7 @@ Partially supported:

4. (Optional) Enable LSP and other plugins.

Append `export NVIM_LITE_MODE=false` to `~/.zshrc.user`.
Append `export NVIM_LITE_MODE=false` to `~/.zshrc.private`.

5. Clone this repository and install

Expand Down Expand Up @@ -113,8 +113,8 @@ Note: NVIM sometimes might be buggy, because some error just appears in the firs
- `zsh-autosuggestions`
- `zsh-syntax-highlighting`
- settings with multi-stages
- `~/.zshrc.pre` -> `~/.zshrc` -> `~/.zshrc.user` -> `~/.zshrc.post`
- support customized settings (in `~/zshrc.user`)
- `~/.zshrc.pre` -> `~/.zshrc` -> `~/.zshrc.private` -> `~/.zshrc.post`
- support customized settings (in `~/zshrc.private`)
- [mise][mise]
- [mise][mise] is like [asdf][asdf], but much more fast and user-friendly
- use `~/.tool-versions` to install essential packages
Expand Down
4 changes: 2 additions & 2 deletions configs/zsh/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ _INCLUDE ~/.zshrc.wsl

######################################################################

# Add user configurations in ~/.zshrc.user
_INCLUDE ~/.zshrc.user
# Add private configurations in ~/.zshrc.private
_INCLUDE ~/.zshrc.private

######################################################################

Expand Down

0 comments on commit 6b655cd

Please sign in to comment.