Fix vscode issue on WSL with shell

This commit is contained in:
Mylloon 2023-04-04 08:44:57 +02:00
parent 2b6dcc23bc
commit fe7b2b0be6
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 7 additions and 0 deletions

View file

@ -203,6 +203,9 @@ main() {
mkdir "$HOME"/.emacs.d
wget -q https://git.mylloon.fr/Anri/confOS/raw/branch/main/.emacs.d/init.el -O "$HOME"/.emacs.d/init.el
# === Bash VSCode fix ==
curl -s https://git.mylloon.fr/Anri/confOS/raw/branch/main/dotfiles/.bashrc >> "$HOME"/.bashrc
# === Clear useless packages
pacman -Qqtd | sudo pacman --noconfirm -Rsn subsystemctl - 2> /dev/null || true

4
dotfiles/.bashrc Normal file
View file

@ -0,0 +1,4 @@
# Open Fish when opening in VSCode
if [ "$TERM_PROGRAM" == "vscode" ]; then
fish
fi