Begin supporting run
I'd like to be able to just call `run file.py` and have a program DWIM. I'm working on run as a step in this direction. Define a simple configuration that maps file extensions to template strings where "$file" is replaced with the argv[1]. It basically works but there are outstanding TODOs. See the README and source code for more information.
This commit is contained in:
parent
a50153c141
commit
3afb56a5e5
5 changed files with 104 additions and 0 deletions
2
run/.envrc
Normal file
2
run/.envrc
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
source_up
|
||||
eval "$(lorri direnv)"
|
||||
Loading…
Add table
Add a link
Reference in a new issue