Comments (5)
Hey @graywh
I don't see \$?
showing the previous command in my bash prompt. This link that uses echo !!
(or a variant that leads with the !
syntax) seems to work better.
Thoughts on implementing?
from halloweenbash.
That's previous command, not its exit status.
from halloweenbash.
Sorry for the misunderstanding. I've pushed exit_status in the latest commit. Thanks @graywh. The layout in box #1 is pretty unorganized, but functional
from halloweenbash.
Is there a reason you used a function? You can use \$?
just like \$(show_exit_status)
.
from halloweenbash.
Updated without function. Good call
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
- Escape $ so it becomes # after switching to root HOT 3
- 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
- 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.