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