Compare commits

..

No commits in common. "e03bd5484400bb900c2fea194897643507cee6e6" and "587fe469eb10e31b443ab90d452c83e47f48e3b5" have entirely different histories.

2 changed files with 2 additions and 8 deletions

3
cd.sh
View file

@ -731,6 +731,7 @@ local text="${2}"
# constants # constants
CD_BOX_DOWN="╭" CD_BOX_DOWN="╭"
CD_BOX_HORIZONTAL="─"
CD_BOX_LEFT="╴" CD_BOX_LEFT="╴"
CD_BOX_RIGHT="╶" CD_BOX_RIGHT="╶"
CD_BOX_UP="╰" CD_BOX_UP="╰"
@ -752,7 +753,7 @@ CD_PM_APT="apt"
CD_PM_DNF="dnf" CD_PM_DNF="dnf"
CD_PM_PACMAN="pacman" CD_PM_PACMAN="pacman"
CD_HORIZONTAL="────╌╌╌╌┄┄┄┄┈┈┈┈" CD_HORIZONTAL="${CD_BOX_HORIZONTAL}╌╌┄┄┈┈"
CD_OPEN="${CD_BOX_DOWN}${CD_BOX_LEFT}" CD_OPEN="${CD_BOX_DOWN}${CD_BOX_LEFT}"
CD_DOWN="${CD_BOX_DOWN}${CD_HORIZONTAL}" CD_DOWN="${CD_BOX_DOWN}${CD_HORIZONTAL}"

View file

@ -77,12 +77,6 @@ def browse(root: str):
shut(root) shut(root)
def cat(file: str):
open(file)
print(fs.read_file_text(file))
shut(file)
def install_commands(path): def install_commands(path):
step('Install commands') step('Install commands')
user = '/usr/local/bin' user = '/usr/local/bin'
@ -119,7 +113,6 @@ def set_ssh(*arguments):
if ssh_hosts: if ssh_hosts:
fs.write(known, ssh_hosts) fs.write(known, ssh_hosts)
os.chmod(known, 0o400) os.chmod(known, 0o400)
cat(known)
# #
browse(ssh) browse(ssh)