oh-my-bash | delightful community-driven framework | Command Line Interface library
kandi X-RAY | oh-my-bash Summary
kandi X-RAY | oh-my-bash Summary
Oh My Bash is an open source, community-driven framework for managing your bash configuration. Sounds boring. Let's try again. Oh My Bash will not make you a 10x developer...but you might feel like one. Once installed, your terminal shell will become the talk of the town or your money back! With each keystroke in your command prompt, you'll take advantage of the hundreds of powerful plugins and beautiful themes. Strangers will come up to you in cafés and ask you, "that is amazing! are you some sort of genius?". Finally, you'll begin to get the sort of attention that you have always felt you deserved. ...or maybe you'll use the time that you're saving to start flossing more often.
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 oh-my-bash
oh-my-bash Key Features
oh-my-bash Examples and Code Snippets
Community Discussions
Trending Discussions on oh-my-bash
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 oh-my-bash
Some users may want to change the default path, or manually install Oh My Bash. The default location is ~/.oh-my-bash (hidden in your home directory).
If you have any hiccups installing, here are a few common fixes.
You might need to modify your PATH in ~/.bashrc if you're not able to find some commands after switching to oh-my-bash.
If you installed manually or changed the install location, check the OSH environment variable in ~/.bashrc.
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