Comments (2)
prompt/src/sh/scripts/use-shell
Line 51 in 275f62c
from prompt.
Oh man I've seen people do this. Would it make sense to do something like:
echo "${CLR_BRIGHT_BLUE}"
echo "\$SHELL set to: $SHELL"
echo "${CLR_CLEAR}"
echo "${CLR_SUCCESS}"
echo "##############################################################################"
echo "##############################################################################"
echo " PLEASE RUN: exec -l \$SHELL"
echo "##############################################################################"
echo "##############################################################################"
echo "${CLR_CLEAR}"
That way it's clear what the value of $SHELL
is and it's out of the comment asking the user to take action.
I don't know that it makes sense to remove printing $SHELL
because depending on how prompt was installed a user could end up changing their default shell.
from prompt.
Related Issues (20)
- Error when attempting to install a specific version of prompt HOT 2
- gcloud-install: sources bash completion in sh/zsh HOT 9
- I've been getting the same error locally on macOS: HOT 7
- git-prompt: escape sequence issue in latest version of posh-git-sh HOT 1
- build: move to gitHub actions instead of circle-ci
- open-url should test for tty / gui before attempting to open a url HOT 1
- refactor: redesign prompt update HOT 3
- docs docs docs! HOT 11
- macOS: security keys -- how do we want to support them? HOT 7
- prompt should magically work on M1 (ARM) Macs HOT 2
- switch-smart-card: missing keygrip causes script to exit without error HOT 1
- bug: gpg related errors in Ubuntu on Windows via WSL 1 HOT 2
- replace set-prompt with starship-based prompt HOT 8
- install prompt on WSL2 fails HOT 5
- update-sln: script is not posix compliant despite being in the default shell scripts
- gpg issues persist HOT 2
- v8.3.0-next.3 symbols and print-warn issues HOT 2
- Issue after upgrading prompt HOT 14
- [next.4] Cannot install gcloud sdk on macOS HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prompt.