Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
C64 .profile for bash
clear
export PS1=$
free="$(( $(vm_stat | awk '/free/ {gsub(/\./, "", $3); print $3}') * 4096 / 1048576)) MiB free"
echo \*\*\*\* bash $BASH_VERSION \*\*\*\*
echo
echo $free
echo
echo READY.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment