Blog Atom

OOC - Out of Cooldom

I found ooc today!

From their site:
"ooc is a modern, object-oriented, functional-ish, high-level, low-level, sexy programming language. It's translated to pure C with a source-to-source compiler. It thrives to be powerful, modular, extensible, portable, yet simple and fast."

Take a look! It seems to be an interesting project... ;)

The code is available at GitHub. Just click here to see all OOC related repositories - There is a lot of stuff available!

Posted in: opensourceprogramming

Tags: opensourcelanguageprogrammingooc

I love the Zsh prompt used in Gentoo! Here it is...

Since I am using the Zsh as default Shell on my Linux machines but not all of them are Gentoo based, I put the Gentoo prompt here.

Screenshot:
Zsh Gentoo prompt Screenshot

Just put the following lines to your .zshrc and you will be able to use this prompt on all distributions, not only Gentoo. Shure, I could copy the prompt file to the default directory in /usr/share/zsh/... but it is easier to just copy the .zshrc file from system to system...:

prompt_gentoo_setup () {
prompt_gentoo_prompt=${1:-'blue'}
prompt_gentoo_user=${2:-'green'}
prompt_gentoo_root=${3:-'red'}

if [ "$USER" = 'root' ]
then
base_prompt="%B%F{$prompt_gentoo_root}%m%k "
else
base_prompt="%B%F{$prompt_gentoo_user}%n@%m%k "
fi
post_prompt="%b%f%k"

#setopt noxtrace localoptions

path_prompt="%B%F{$prompt_gentoo_prompt}%1~"
PS1="$base_prompt$path_prompt %# $post_prompt"
PS2="$base_prompt$path_prompt %_> $post_prompt"
PS3="$base_prompt$path_prompt ?# $post_prompt"
}

prompt_gentoo_setup "$@"

Posted in: opensource

Tags: opensourcecodeshellzsh

Zynk Source Code available at Sourceforge

Zynk LogoI have some weeks ago comitted the Zynk sources to SourceForge. They are available via SVN and I hope there will be people joining this project.

You can checkout the sources using the following command:

svn co https://zynk.svn.sourceforge.net/svnroot/zynk zynk

Posted in: opensource

Tags: opensourcenewsrsynczynk

Pages