Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Thanks. Is it a good idea to put alias PDFXCview="wine /home/t/bin/PDFXCview.exe" in ~/.profile? Commented Mar 20, 2018 at 13:33
  • Yes, that works too (in .bashrc or .zshrc rather than .profile though). The difference is that you need one alias per program, instead of one path entry per directory containing programs you want to run. Commented Mar 20, 2018 at 14:18
  • Thanks. (1) Why define environment variables in ~/.profile or ~/.bash_profile, and alias and functions in ~/.bashrc? unix.stackexchange.com/q/431832/674 (2) unix.stackexchange.com/a/76641/674 suggests to write a shell script for each .exe file, so it is still done per program, just as alias is, isn't it? Commented Mar 21, 2018 at 19:43