diff options
Diffstat (limited to 'pkgs/profpatsch/xdg-open/types.dhall')
-rw-r--r-- | pkgs/profpatsch/xdg-open/types.dhall | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/profpatsch/xdg-open/types.dhall b/pkgs/profpatsch/xdg-open/types.dhall index 9b0456f1..8cc033b4 100644 --- a/pkgs/profpatsch/xdg-open/types.dhall +++ b/pkgs/profpatsch/xdg-open/types.dhall @@ -10,7 +10,12 @@ let Arg = < String : Text | Variable : Text > let CommandTemplate = λ(templates : Type) → { exe : Executable, args : templates → List Arg } -let Command = CommandTemplate Arg +let + -- Given an executable and args to pass to the executable, + -- which might be a bash variable or a simple command line string. + -- Should remove that indirection at some point and just generate execline strings/scripts instead. (?) + Command = + CommandTemplate Arg let Special = { open-in-editor : Command |