zsh in ubuntu

Zsh is a shell designed for interactive use, although it is also a powerful scripting language, in this post i will describe how to install and configure it

first install it from the repository by doing :

 sudo apt-get install zsh 

to install the grml config issu the following command in your home dir :

 wget -O .zshrc http://git.grml.org/f/grml-etc-core/etc/zsh/zshrc 

to also install the user config from grml issue :

 wget -O .zshrc.local  http://git.grml.org/f/grml-etc-core/etc/skel/.zshrc 

to enable fish like syntax highlighting :

 git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
    echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc

Then, enable syntax highlighting in the current interactive shell:

 source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 

to test your newly installed zsh shell run zsh in bash
if you want to use zsh as your default shell issue :

 chsh -s $(which zsh) 

Xubuntu awsome install

awesome is a tiling window manager for linux

Installing awesome is as easy as doing :

sudo apt-get install -y awesome awesome-extra

by default awesome has no network manager or compositing to fix this we are going to use unagi and nm-applet

for compositing install :

sudo apt-get install -y unagi

and add the following to your /home/$username/.config/awesome/rc.lua:

awful.util.spawn_with_shell("unagi &")

to add a network manager just add the following to your /home/$username/.config/awesome/rc.lua

awful.util.spawn_with_shell("nm-applet &")