powerline-go | useful low-latency prompt | Command Line Interface library
kandi X-RAY | powerline-go Summary
kandi X-RAY | powerline-go Summary
A beautiful and useful low-latency prompt for your shell, written in go
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of powerline-go
powerline-go Key Features
powerline-go Examples and Code Snippets
Community Discussions
Trending Discussions on powerline-go
QUESTION
I would like to use something like oh-my-bash in vscode using WSL2. However according to the docs:
When VS Code Remote is started in WSL, no shell startup scripts are run. This was done to avoid issues with startup scripts that are tuned for shells. If you want to run additional commands or modify the environment this can be done in a setup script
~/.vscode-server/server-env-setup
(Insiders:~/.vscode-server-insiders/server-env-setup
). If present, the script is processed before the server is started.
I have added a ~/.vscode-server/server-env-setup
and according to the logs it is found and executed, but my linux skills are quite basic and i can't figure out how to get my profile installed. I have tried
ANSWER
Answered 2019-Dec-10 at 12:57In order to persist your settings in your current shell, you need to source your config instead of just executing it (see this link for more details).
The problem is that vscode is using dash
to load your config file instead of bash
.
However, source
is a bash
keyword, and is not understood by dash
. So you'll have to use the more portable syntax, .
, in order to make it work with dash
.
Try replacing your file by the following content (no need for #!/bin/bash
) :
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install powerline-go
I provide precompiled binaries for x64 Linux and macOS in the releases tab.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page