Comments (3)
Hi @breun,
Thanks for your feedback. I'm not sure I understand the issue or situation. Your .bash_profile
goes in the user's ~/
. Are you setting your user PS1, but it is also changing the root user's PS1?
Could you provide specific step-by-step details to reproduce the bug?
Thanks
from halloweenbash.
I'm running OS X 10.8.4 with bash 4.2.45(2)-release (i386-apple-darwin12.3.0) from MacPorts.
- Go to http://xta.github.io/HalloweenBash/
- Put the default generated code
export PS1="\h:\W \u\$ "
into~/.bash_profile
. - Open a new terminal window.
- Run
sudo -s
. - The
$
is still a$
, but should change into a#
to indicate you're now running as root.
When using either export PS1="\h:\W \u\\$ "
or export PS1='\h:\W \u\$ '
this does work.
from halloweenbash.
Sorry for the delay, but I've taken the $ route - Thanks @breun
from halloweenbash.
Related Issues (16)
- Support current git branch
- git-branch problem HOT 4
- Offer a way to remove components from configuration HOT 3
- Removing everything from 'Your Configuration' is irreversible
- Advise to start with ': ' first and end with '; ' -- helps cut-n-paste HOT 1
- Allow color switching intra-PS1 HOT 10
- The orange makes my eyes bleed HOT 1
- Git Branch Colors HOT 2
- Core Temperature -> Linux / Mac HOT 2
- Free RAM -> Linux/Mac HOT 8
- Space disappears after being dragged HOT 9
- Could do with an @ sign as an available symbol
- Lacks exit status of previous command HOT 5
- Character and colours HOT 1
- Last command exit status HOT 3
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 halloweenbash.