This commit is contained in:
Charles-Pierre Astolfi 2014-02-11 22:22:25 +01:00
commit c996b17771
117 changed files with 4082 additions and 332 deletions

View file

@ -1,6 +1,6 @@
function theme
{
if [ "$1" = "random" ]; then
if [ -z "$1" ] || [ "$1" = "random" ]; then
themes=($ZSH/themes/*zsh-theme)
N=${#themes[@]}
((N=(RANDOM%N)+1))