OILS / spec / testdata / module / this_dir.ysh View on Github | oils.pub

9 lines, 4 significant
1
2echo 'hi from this_dir.ysh'
3
4write -n '$_this_dir = '
5
6# support git/oilshell/oil/ or git/oils-for-unix/oils
7echo $_this_dir | sed 's;.*/oils\?/;REPLACED/oils/;'
8
9source $_this_dir/empty.ysh