Installed Tilix terminal emulator on Ubuntu 16.04 virtual machine and configured a json theme to my liking named theme.json.
I have added the same environment variables and aliases both in the .bashrc and the .zshrc as follows:
Created a launcher shortcut (tilix.desktop) which runs a script (tilix_launcher.sh) as follows:
tilix –session /path-to-json/theme.json
Confusingly, if on the ‘normal’ terminal source the zshrc and then open Tilix, the session has visibility of the zshrc; I do not understand how to automate that within a script (i.e. tilix_launcher.sh).
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
$ tilix –version
Tilix version: 1.9.1
VTE version: 0.42
GTK Version: 3.18.9
The problem is that whenever I launch Tilix (with or without the launcher script), the environment variables and the aliases are not known to Tilix’s session; have to source ~/.zshrc for them to work.
Tried to add this source command within the tilix_launcher.sh but it still does not work.