Skip to content

Commit d271156

Browse files
committed
添加 Poetry 配置文件
1 parent 5dbf1e3 commit d271156

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

README.md

+10-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
### Vim & NeoVim
2828

29-
NeoVim 配置文件统一归档在 `nvim` 目录之下,用户将此目录整个下载并重命名为 `~/.config/nvim/` 后,还需要执行如下操作:
29+
[NeoVim](https://neovim.io/) 配置文件统一归档在 `nvim` 目录之下,用户将此目录整个下载并重命名为 `~/.config/nvim/` 后,还需要执行如下操作:
3030

3131
1. 确保您的 Vim 版本在 `8.1.1719` 及以上,或者 NeoVim 版本在 `0.4.0` 以上。
3232
2. 确保您安装了 Nodejs 14.14 及以上版本。
@@ -37,8 +37,15 @@ NeoVim 配置文件统一归档在 `nvim` 目录之下,用户将此目录整
3737

3838
### Fish
3939

40-
Fish Shell 配置文件归档在 `fish` 目录下,用户将此目录整个下载并重命名为 `~/.config/fish/` ,即可直接使用。
40+
[Fish Shell](https://fishshell.com/) 配置文件归档在 `fish` 目录下,用户将此目录整个下载并重命名为 `~/.config/fish/` ,即可直接使用。
4141

4242
### Lazygit
4343

44-
Lazygit 配置文件归档在 `lazygit` 目录下,用户将此目录整个下载并重命名为 `~/.config/lazygit` ,还需要安装 `git-delta` 才能使配置文件完全可用并生效。
44+
[Lazygit](https://github.com/jesseduffield/lazygit) 配置文件归档在 `lazygit` 目录下,用户将此目录整个下载并重命名为 `~/.config/lazygit` ,还需要安装 `git-delta` 才能使配置文件完全可用并生效。
45+
46+
### Poetry
47+
48+
[Python Poetry](https://python-poetry.org/) 配置文件归档在 `pypoetry` 目录下,用户将此目录整个下载并重命名为 `~/.config/pypoetry` ,还需要执行如下操作:
49+
50+
1. 安装 Python 3.7 及以上版本
51+
2. 安装最新版本 Poetry

pypoetry/config.toml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
cache-dir = "/tmp/cache/pypoetry"
2+
3+
[experimental]
4+
new-installer = true
5+
system-git-client = true
6+
7+
[virtualenvs]
8+
in-project = true
9+
prompt = "cpy{python_version}"
10+
prefer-active-python = true

0 commit comments

Comments
 (0)