Skip to content

Commit 3ee255d

Browse files
committed
Allow shell integration on 3.13+ via setting
1 parent 4fb69ea commit 3ee255d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python_files/pythonrc.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import readline
66

77
original_ps1 = ">>> "
8-
use_shell_integration = sys.version_info < (3, 13)
98
is_wsl = "microsoft-standard-WSL" in platform.release()
109

1110

@@ -75,7 +74,7 @@ def __str__(self):
7574
return result
7675

7776

78-
if sys.platform != "win32" and (not is_wsl) and use_shell_integration:
77+
if sys.platform != "win32" and (not is_wsl):
7978
sys.ps1 = PS1()
8079

8180
if sys.platform == "darwin":

0 commit comments

Comments
 (0)