Sublime and Nim

2023-08-22 Thread janAkali
Don't quote me on that, but as I understand: you previously added '~/.nimble/bin' to your PATH in some config file for fish shell (e.g. '.fishrc'). This file is sourced (loaded) when you start a shell session or launch a gui program **from terminal**. So, when a program is started not from a te

Sublime and Nim

2023-08-22 Thread Odysseus
Actually, it was that! Thank you very much!

Sublime and Nim

2023-08-22 Thread Odysseus
Hello and thank you. But, there is something which I do not understand. Using the terminal I can compile and run nim from any directory; thus it is already in my PATH (also, I use the fish shell). So, I do not think that this is the problem, unless the default terminal of Sublime uses bash ... I

Sublime and Nim

2023-08-22 Thread janAkali
You need to add Nim to your PATH globally (not in .bashrc/.zshrc). Add this line to the ~/.profile: export PATH="$HOME/.nimble/bin:$PATH Run then logout or reboot. That should work for Ubuntu/Debian/Arch-based distros. For OpenSUSE - instead, edit file '/etc/profile.

Sublime and Nim

2023-08-22 Thread Odysseus
Hello to all I have just installed NimPlus --as per github instructions-- within Sublime Text 4. At this point I have to say that I have installed nim using ChooseNim -in a Linux system (in fact, after a fresh installation. When I try to compile/run a source nim file (e.g., test.nim, which con