Configure bash_profile for one single terminal emulator
- by Hugo
I'm using a new terminal emulator. Terminology is the E17 default terminal, and it have a great command, $ tyls with is a "graphical" $ ls
I want to create an alias just for this terminal, because the command "tyls" don't make sense to konsole, rxvt or other terminals.
I'm thinking in some kind of "if" in ~/.bash_profile to test if I'm on terminology and then run the following command:
alias ls="tyls"
But how can I test if I'm in terminology but not xterm? Can someone help me?
Thanks!