Trying to create a global command to launch lighttable (the editor) version 0.8.0
Initially I tried it the i thought easy way and moved the extracted lighttable folder to /opt and then created a symlink
sudo ln -s LightTable /usr/bin/Lt
When that didn't work I changed it to
sudo ln -s ./LightTable /usr/bin/Lt
That didn't work so I have tried to add the directory to my path and then create an alias from there.
The command to execute lighttable is
so in my ~/.profile I have added
export LT_HOME=/opt/lighttable/ export PATH=$PATH:$LT_HOME
then I created my ~/.bash_aliases file and added
I then restarted the shell and tried using the alias however it fails
sayth@:~$ light bash: ./LightTable: No such file or directory
How can I achieve this?
Couldn't initial locate an answer, have now found