diff --git a/docs/screenshots/test_github_screenshot.svg b/docs/screenshots/test_github_screenshot.svg
index 975eb49..ae03be5 100644
--- a/docs/screenshots/test_github_screenshot.svg
+++ b/docs/screenshots/test_github_screenshot.svg
@@ -19,191 +19,191 @@
font-weight: 700;
}
- .terminal-3424560114-matrix {
+ .terminal-244818945-matrix {
font-family: Fira Code, monospace;
font-size: 20px;
line-height: 24.4px;
font-variant-east-asian: full-width;
}
- .terminal-3424560114-title {
+ .terminal-244818945-title {
font-size: 18px;
font-weight: bold;
font-family: arial;
}
- .terminal-3424560114-r1 { fill: #c5c8c6 }
-.terminal-3424560114-r2 { fill: #e3e3e3 }
-.terminal-3424560114-r3 { fill: #e2e3e3 }
-.terminal-3424560114-r4 { fill: #e2e3e3;font-weight: bold }
-.terminal-3424560114-r5 { fill: #ff4689 }
-.terminal-3424560114-r6 { fill: #f8f8f2 }
-.terminal-3424560114-r7 { fill: #e1e1e1 }
-.terminal-3424560114-r8 { fill: #008139 }
-.terminal-3424560114-r9 { fill: #919497;font-weight: bold }
-.terminal-3424560114-r10 { fill: #919497;font-style: italic; }
-.terminal-3424560114-r11 { fill: #211505;font-weight: bold;font-style: italic; }
-.terminal-3424560114-r12 { fill: #e6db74 }
-.terminal-3424560114-r13 { fill: #e2e3e3;font-style: italic; }
-.terminal-3424560114-r14 { fill: #14191f }
-.terminal-3424560114-r15 { fill: #66d9ef }
-.terminal-3424560114-r16 { fill: #dde8f3;font-weight: bold }
-.terminal-3424560114-r17 { fill: #ddedf9 }
+ .terminal-244818945-r1 { fill: #c5c8c6 }
+.terminal-244818945-r2 { fill: #e3e3e3 }
+.terminal-244818945-r3 { fill: #e2e3e3 }
+.terminal-244818945-r4 { fill: #e2e3e3;font-weight: bold }
+.terminal-244818945-r5 { fill: #ff4689 }
+.terminal-244818945-r6 { fill: #f8f8f2 }
+.terminal-244818945-r7 { fill: #e1e1e1 }
+.terminal-244818945-r8 { fill: #008139 }
+.terminal-244818945-r9 { fill: #919497;font-weight: bold }
+.terminal-244818945-r10 { fill: #919497;font-style: italic; }
+.terminal-244818945-r11 { fill: #211505;font-weight: bold;font-style: italic; }
+.terminal-244818945-r12 { fill: #e6db74 }
+.terminal-244818945-r13 { fill: #e2e3e3;font-style: italic; }
+.terminal-244818945-r14 { fill: #14191f }
+.terminal-244818945-r15 { fill: #66d9ef }
+.terminal-244818945-r16 { fill: #dde8f3;font-weight: bold }
+.terminal-244818945-r17 { fill: #ddedf9 }
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- UniversalDirectoryTreeApp
+ UniversalDirectoryTreeApp
-
-
-
- ⭘UniversalDirectoryTreeApp
-📂 github://juftin:textual-universal-directorytree@v1.0.0default_stages:[commit]
-├── 📁 .githubfail_fast:false
-├── 📁 docs
-├── 📁 requirementsrepos:
-├── 📁 tests-repo:https://github.com/pre-commit/pre-commit-hooks
-├── 📁 textual_universal_directorytreerev:v4.4.0
-├── 📄 .gitignorehooks:
-├── 📄 .pre-commit-config.yaml-id:trailing-whitespace
-├── 📄 .releaserc.jsexclude:'\.svg$'
-├── 📄 LICENSE.txt-id:end-of-file-fixer
-├── 📄 mkdocs.yaml-id:check-yaml
-├── 📄 pyproject.toml-id:check-ast
-└── 📄 README.md-id:check-docstring-first
--id:check-merge-conflict
--id:mixed-line-ending
-
--repo:https://github.com/macisamuele/language-format
-rev:v2.8.0
-hooks:
--id:pretty-format-toml
-args:[--autofix]
-▁▁
--repo:https://github.com/pre-commit/mirrors-prettier
-rev:v3.0.0-alpha.6
-hooks:
--id:prettier
-args:[--print-width=88,--tab-width=4]
-exclude:|
-(?x)(
-.github/semantic_release/release_notes.h
-)
-additional_dependencies:
--prettier
- Q Quit
+
+
+
+ ⭘UniversalDirectoryTreeApp
+📂 github://juftin:textual-universal-directorytree@v1.0.0/default_stages:[commit]
+├── 📁 .githubfail_fast:false
+├── 📁 docs
+├── 📁 requirementsrepos:
+├── 📁 tests-repo:https://github.com/pre-commit/pre-commit-hooks
+├── 📁 textual_universal_directorytreerev:v4.4.0
+├── 📄 .gitignorehooks:
+├── 📄 .pre-commit-config.yaml-id:trailing-whitespace
+├── 📄 .releaserc.jsexclude:'\.svg$'
+├── 📄 LICENSE.txt-id:end-of-file-fixer
+├── 📄 mkdocs.yaml-id:check-yaml
+├── 📄 pyproject.toml-id:check-ast
+└── 📄 README.md-id:check-docstring-first
+-id:check-merge-conflict
+-id:mixed-line-ending
+
+-repo:https://github.com/macisamuele/language-format
+rev:v2.8.0
+hooks:
+-id:pretty-format-toml
+args:[--autofix]
+▁▁
+-repo:https://github.com/pre-commit/mirrors-prettier
+rev:v3.0.0-alpha.6
+hooks:
+-id:prettier
+args:[--print-width=88,--tab-width=4]
+exclude:|
+(?x)(
+.github/semantic_release/release_notes.h
+)
+additional_dependencies:
+-prettier
+ Q Quit
diff --git a/requirements/requirements-all.py3.9.txt b/requirements/requirements-all.py3.9.txt
index f5e77ea..89757cc 100644
--- a/requirements/requirements-all.py3.9.txt
+++ b/requirements/requirements-all.py3.9.txt
@@ -167,9 +167,7 @@ pycparser==2.21
pygments==2.17.2
# via rich
pyjwt==2.8.0
- # via
- # msal
- # pyjwt
+ # via msal
pynacl==1.5.0
# via paramiko
pytest==8.0.1
diff --git a/textual_universal_directorytree/alternate_paths.py b/textual_universal_directorytree/alternate_paths.py
index 7a27446..68fc0c2 100644
--- a/textual_universal_directorytree/alternate_paths.py
+++ b/textual_universal_directorytree/alternate_paths.py
@@ -44,7 +44,8 @@ def __str__(self) -> str:
"""
return (
f"{self.protocol}://{self.storage_options['org']}:"
- f"{self.storage_options['repo']}@{self.storage_options['sha']}"
+ f"{self.storage_options['repo']}@{self.storage_options['sha']}/"
+ f"{self.path}"
)
@classmethod
@@ -84,9 +85,7 @@ def handle_github_url(cls, url: str | GitHubPath) -> str:
resp.raise_for_status()
default_branch = resp.json()["default_branch"]
arg_str = "/".join(args)
- github_uri = f"{gitub_prefix}{org}:{repo}@{default_branch}/{arg_str}".rstrip(
- "/"
- )
+ github_uri = f"{gitub_prefix}{org}:{repo}@{default_branch}/{arg_str}"
return github_uri