Finally sat down to fix the 'up' function to work under ZSH. Works a charm, now.