Fix vscode issue on WSL with shell
This commit is contained in:
parent
2b6dcc23bc
commit
fe7b2b0be6
2 changed files with 7 additions and 0 deletions
|
@ -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
4
dotfiles/.bashrc
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Open Fish when opening in VSCode
|
||||
if [ "$TERM_PROGRAM" == "vscode" ]; then
|
||||
fish
|
||||
fi
|
Loading…
Reference in a new issue