when i want to save a session with spesific directories it saves to json file with that "directory": "", so i wont load directories latter time
Your VTE is probably not configured correctly so Tilix is not getting notified of changes in directory. I've tested it locally on my machine and it works fine. See here for information on configuring VTE:
https://gnunn1.github.io/tilix-web/manual/vteconfig/
You can also tell if the VTE is not configured correctly by splitting terminals, if the new terminal doesn't inherit the directory of the old terminal it's not configured correctly.
ok, after sourcing /etc/profile.d/vte.sh to .bshrc it solved, thnks
ok, after sourcing /etc/profile.d/vte.sh to .bshrc it solved, thnks
Thank you! I have the same problem and fix it use your method.