Compare commits
No commits in common. "e03bd5484400bb900c2fea194897643507cee6e6" and "587fe469eb10e31b443ab90d452c83e47f48e3b5" have entirely different histories.
e03bd54844
...
587fe469eb
2 changed files with 2 additions and 8 deletions
3
cd.sh
3
cd.sh
|
@ -731,6 +731,7 @@ local text="${2}"
|
|||
# constants
|
||||
|
||||
CD_BOX_DOWN="╭"
|
||||
CD_BOX_HORIZONTAL="─"
|
||||
CD_BOX_LEFT="╴"
|
||||
CD_BOX_RIGHT="╶"
|
||||
CD_BOX_UP="╰"
|
||||
|
@ -752,7 +753,7 @@ CD_PM_APT="apt"
|
|||
CD_PM_DNF="dnf"
|
||||
CD_PM_PACMAN="pacman"
|
||||
|
||||
CD_HORIZONTAL="────╌╌╌╌┄┄┄┄┈┈┈┈"
|
||||
CD_HORIZONTAL="${CD_BOX_HORIZONTAL}╌╌┄┄┈┈"
|
||||
|
||||
CD_OPEN="${CD_BOX_DOWN}${CD_BOX_LEFT}"
|
||||
CD_DOWN="${CD_BOX_DOWN}${CD_HORIZONTAL}"
|
||||
|
|
|
@ -77,12 +77,6 @@ def browse(root: str):
|
|||
shut(root)
|
||||
|
||||
|
||||
def cat(file: str):
|
||||
open(file)
|
||||
print(fs.read_file_text(file))
|
||||
shut(file)
|
||||
|
||||
|
||||
def install_commands(path):
|
||||
step('Install commands')
|
||||
user = '/usr/local/bin'
|
||||
|
@ -119,7 +113,6 @@ def set_ssh(*arguments):
|
|||
if ssh_hosts:
|
||||
fs.write(known, ssh_hosts)
|
||||
os.chmod(known, 0o400)
|
||||
cat(known)
|
||||
#
|
||||
browse(ssh)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue