Read ~/.bashrc When Running A .fsx Script?
eatobin opened this issue · 7 comments
To me it looks like there is a mix happening here. Because, you are trying to setup a Powershell configuration from inside a .bashrc
which is in general associated to bash
and not Powershell.
I think customisation of Powershell should be done inside the $PROFILE
code.
Exemple: notepad $PROFILE
@MangelMaxime Thank you - but I don't understand. Where does Powershell come in? I am on Linux (Ubuntu) and use bash
. Is Powershell used by Ionide-VSCode to run a .fsx
script?
Oops sorry I thought PS1
was related to PowerShell as when quickly looking at the screenshot I thought that the window I took for a window terminal (Sublime Text) looked similar to Windows Terminal.
I was probably not properly awake this morning 😅
We don't spawn the terminal ourself, it is given to use by VSCode API.
ionide-vscode-fsharp/src/Components/Fsi.fs
Lines 419 to 455 in 29205de
I don't know if there any arguments or configuration can be made for it.
@MangelMaxime Thank you. I'll just live with it. :-)
Bye.