frame
This commit is contained in:
parent
736e4fccb9
commit
71f2370dad
1 changed files with 3 additions and 3 deletions
|
@ -71,14 +71,14 @@ def browse(root: str) -> None:
|
|||
absolute_path = Path(directory) / file
|
||||
relative_path = os.path.relpath(absolute_path, start=root)
|
||||
paths.append(relative_path)
|
||||
open(root)
|
||||
frame(root)
|
||||
for path in sorted(paths):
|
||||
print(path)
|
||||
shut(root)
|
||||
|
||||
|
||||
def cat(file: str) -> None:
|
||||
open(file)
|
||||
frame(file)
|
||||
print(fs.read_file_text(file).rstrip())
|
||||
shut(file)
|
||||
|
||||
|
@ -124,7 +124,7 @@ def set_ssh(*arguments: str) -> None:
|
|||
cat(known)
|
||||
|
||||
|
||||
def open(*arguments: str) -> None:
|
||||
def frame(*arguments: str) -> None:
|
||||
print(env.CD_OPEN, end="")
|
||||
print(*arguments, flush=True)
|
||||
|
||||
|
|
Loading…
Reference in a new issue