All Questions
Tagged with visual-studio-code zsh
10
questions
1
vote
1
answer
60
views
Why I can't change the prompt in VSCode's terminal?
I am trying to change the prompt in my VSCode's terminal.
My OS is MacOS Monterey 12.6.
I use the zsh and I change the PS1 in .zprofile,such like this.
Then I use echo to test.The others can work ...
2
votes
0
answers
67
views
Why does zsh navigation behave differently in the VS Code terminal vs macOS terminal?
When I am using zsh in the inbuilt VS Code terminal, I can:
a) use the up and down arrow keys to navigate through my command history when typing a command:
zsh command navigation
b) use all arrow keys ...
0
votes
1
answer
659
views
powerlevel10k slanted theme not aligned in VSCode integrated terminal
I have powerlevel10k installed on my zsh.
On VSCode integrated terminal, the slanted theme is not aligned properly, even with MesloLGS NF font installed and terminal.integrated.fontfamily set to ...
2
votes
1
answer
1k
views
Configure Visual Studio Code to share same terminal history from zsh?
I use both the built-in terminal of VScode + terminal (zsh) on Mac. I'm under the impression they used to share the same history but not anymore.
Ideally a command I type in either would be ...
1
vote
1
answer
304
views
Best way to detect that a ZSH scope runs inside a VScode's Terminal?
When I run build commands in Visual Studio Code I want to invoke my whole custom shell that I also use for macOS, thus I invoke;
source ~/.zshrc && sync_all_shell_env
There is a small problem ...
0
votes
1
answer
8k
views
Add function to ~/.zshrc
I'm trying to apply the following : https://stackoverflow.com/questions/58549853/compiling-header-files-for-c-using-vscode-code-runner
But I'm stuck/missdo on the part to copy and paste the function ...
0
votes
1
answer
119
views
Piping your current $PATH to VSCode as a shortcut
My knowledge on shell usage, regular expressions and system processes is rather small. I know I can pipe de result of one command to another.
Yet doing pwd | code or $PATH | code doesn't yield the ...
0
votes
0
answers
106
views
zsh installed via cygwin makes the windows background sound with every command
So I have zsh.exe inside C:\cygwin64\bin and I recently integrated it as an integrated terminal for vs code. I have noticed it makes the windows background sound with every command I enter in the ...
1
vote
2
answers
3k
views
Visual Studio Code not working with Zsh on Linux
If i try to use VS Code with zsh, it says "The terminal process command '/usr/bin/zsh' failed to launch (exit code: 1)".
First I tried to set '"terminal.integrated.shell.linux": "/bin/zsh"' in the ...
0
votes
2
answers
1k
views
Why am I having a "%" sign between the lines in integrated terminal in VS Code?
I was trying to setup zsh shell with oh-my-zsh in vs code. But in the left prompt why there is a "%" sign between lines? How to remove the "%" marked in the screenshot?