Repository navigation
Conversation
Support leading $NAME and ${NAME} paths with directory completion. Resolve missing environment values through cancellable, detached Bash lookups and preserve the standard error dialog for unresolved variables.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Typing
$GITin the location bar currently treats it as a relative filename. Expand leading$NAMEand${NAME}variables, with optional path suffixes, before resolving the location. Completion retains the variable spelling in the entry.Use the inherited environment first. For missing or empty values, query interactive Bash asynchronously so definitions in
.bashrcand sourced.bash_aliaseswork too. Shell startup files execute normally; the location text is never evaluated as shell code. Each lookup uses a separate session, supports cancellation, and has a three-second timeout.Undefined or empty variables use Caja's existing error wording and retain the typed variable in the dialog. Ordinary paths and URLs retain their existing handling;
./$NAMEcan address a literal filename.Validation: