HalloweenBash icon indicating copy to clipboard operation
HalloweenBash copied to clipboard

Free RAM -> Linux/Mac

Open marceloboeira opened this issue 11 years ago • 8 comments

Look:

image

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

aram () { free -m | awk '{print $4}' | head -2 | tail -1; }

marceloboeira avatar Sep 24 '14 14:09 marceloboeira

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. :)

xta avatar Sep 24 '14 23:09 xta

@xta I'll try :+1:

marceloboeira avatar Sep 25 '14 03:09 marceloboeira

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

xta avatar Sep 25 '14 03:09 xta

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

marceloboeira avatar Sep 25 '14 03:09 marceloboeira

@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.

xta avatar Sep 25 '14 03:09 xta

@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 avatar Sep 25 '14 03:09 marceloboeira

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

marceloboeira avatar Sep 25 '14 04:09 marceloboeira

@marceloboeira cool, thanks for sending a pull request!

xta avatar Sep 25 '14 06:09 xta