#!/usr/bin/env sh
# Merge both global and local charfiles
-CHARDIR=/tmp/charsel
+CHARDIR=~/.cache/charsel
+mkdir $CHARDIR/
cp -R /usr/share/charsel/* $CHARDIR/
cp -R ~/.local/share/charsel/* $CHARDIR/
LENGTH=$(cat $CHARFILE | cut -f 1 -d ',' -s | wc -L | cut -b 1)
# MOTD
-cat /tmp/charsel/motd
+cat $CHARDIR/motd
# Main program
while :