mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 00:14:41 +01:00
fix: amalgamation name clash
This commit is contained in:
parent
bc718a40b5
commit
18d655e16f
1 changed files with 1 additions and 2 deletions
|
@ -3,7 +3,6 @@ import io
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
from os.path import expanduser
|
|
||||||
|
|
||||||
from xonsh.ansi_colors import ansi_partial_color_format
|
from xonsh.ansi_colors import ansi_partial_color_format
|
||||||
from xonsh.built_ins import XSH
|
from xonsh.built_ins import XSH
|
||||||
|
@ -360,7 +359,7 @@ class BaseShell:
|
||||||
try:
|
try:
|
||||||
self.precwd = os.getcwd()
|
self.precwd = os.getcwd()
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
self.precwd = expanduser("~")
|
self.precwd = os.path.expanduser("~")
|
||||||
return line if self.need_more_lines else line.lstrip()
|
return line if self.need_more_lines else line.lstrip()
|
||||||
|
|
||||||
def default(self, line, raw_line=None):
|
def default(self, line, raw_line=None):
|
||||||
|
|
Loading…
Add table
Reference in a new issue