hammer icon indicating copy to clipboard operation
hammer copied to clipboard

Add more path and directory meta config options

Open colinschmidt opened this issue 6 years ago • 4 comments

Right now prependlocal enables easy relative path config variables. Adding a prependabs option that prepends the absolute path would be useful. In addition, another option that would help for absolute paths would be something like abspath that converts a path from relative to absolute.

colinschmidt avatar Nov 26 '18 19:11 colinschmidt

Idea: specify relative paths using a special meta variable? e.g. ${localdir}/my_file

edwardcwang avatar Jan 16 '19 22:01 edwardcwang

Resolution:

  • prependlocal meta <--> vlsi.builtins.localpath
  • prependcwd meta <--> vlsi.builtins.cwd

@colinschmidt re. abspath / prependabs these seem ambiguous to be as to whether we're working relative to localpath or cwd. Thoughts?

edwardcwang avatar Mar 14 '19 00:03 edwardcwang

Discussion from #232 says maybe localpath should be the default

edwardcwang avatar Mar 14 '19 00:03 edwardcwang

We have a method of doing relative paths now, so this is not medium priority anymore.

jwright6323 avatar Oct 17 '19 23:10 jwright6323