Skip to content

Commit

Permalink
python*-make-venv!
Browse files Browse the repository at this point in the history
  • Loading branch information
junjiemars committed Jun 1, 2024
1 parent 68ee2b4 commit 0e7177c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/pythons.el
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ After Python3.3+, we can use \\=`python -m venv DIR\\=' to create
"if pgrep -qf $0; then\n"
" exit 0\n"
"fi\n"
"source " venv "/bin/activate\n"
"source " (string-trim> venv "/") "/bin/activate\n"
"if ! pip -qqq show python-lsp-server; then\n"
" pip install python-lsp-server\n"
" exec $0 $@\n"
Expand Down

0 comments on commit 0e7177c

Please sign in to comment.