xta / HalloweenBash

Custom Bash Profile Generator
http://xta.github.io/HalloweenBash/
333 stars 32 forks source link

Free RAM -> Linux/Mac #24

Open marceloboeira opened 10 years ago

marceloboeira commented 10 years ago

Look:

image

I'm using this code below for ubuntu: Check here

aram () { free -m | awk '{print $4}' | head -2 | tail -1; }
xta commented 10 years ago

Hey, thanks for another great suggestion. Free Ram could possibly be implemented similar to the git branch parsing. See how it works here.

If I get a pull request that conforms to the existing HalloweenBash implementation, I'll consider it for inclusion. :)

marceloboeira commented 10 years ago

@xta I'll try :+1:

xta commented 10 years ago

@marceloboeira cool, let me know if you have any questions

marceloboeira commented 10 years ago

@xta I can't make a MacOS support :/

xta commented 10 years ago

@marceloboeira Thanks for the effort. I'd recommend holding off for now since I'd like the different config options to work across both Linux & Mac.

marceloboeira commented 10 years ago

@xta I'll create a branch, with Linux Support, and Create a Pull request. In the future we could have a simple checkbox, to confirm if it is MacOS or Linux, that would help a lot...

marceloboeira commented 10 years ago

@xta just don't merge it until MacOS Support is ready...

xta commented 10 years ago

@marceloboeira cool, thanks for sending a pull request!