nercone-shell 0.2.4__tar.gz → 0.2.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nercone_shell-0.2.4 → nercone_shell-0.2.5}/PKG-INFO +1 -1
- {nercone_shell-0.2.4 → nercone_shell-0.2.5}/pyproject.toml +1 -1
- {nercone_shell-0.2.4 → nercone_shell-0.2.5}/src/nercone_shell/__main__.py +2 -1
- {nercone_shell-0.2.4 → nercone_shell-0.2.5}/README.md +0 -0
- {nercone_shell-0.2.4 → nercone_shell-0.2.5}/src/nercone_shell/__init__.py +0 -0
|
@@ -277,7 +277,8 @@ def main() -> int:
|
|
|
277
277
|
readline.read_history_file(NERSH_HISTORY_PATH)
|
|
278
278
|
while True:
|
|
279
279
|
try:
|
|
280
|
-
|
|
280
|
+
print(f"{ModernColor.color('green')}{getpass.getuser()}{ModernColor.color('reset')}@{os.uname()[1].rsplit('.', 1)[0]} {ModernColor.color('green')}{shorten_path(ENVIRONMENT.get('PWD', f'{Path('~').expanduser()}'))}{ModernColor.color('reset')}> ", end="")
|
|
281
|
+
run_line(input())
|
|
281
282
|
except KeyboardInterrupt:
|
|
282
283
|
print()
|
|
283
284
|
continue
|
|
File without changes
|
|
File without changes
|