+# -*- mode: sh -*-
# kdo is a shell function for interacting with multiple Kerberos
# credential caches.
#
knewcache () {
princ="$1"; shift
local oldcache="$(klist | grep 'Kerberos 5 ticket cache' | cut -f 2 -d "'")"
+ # " # <-- emacs thinks there's an unbalanced " on the previous line.
kinit "$@" "$princ" || return 1
cache="$(kfindcache "$princ")"
# On OS X, kinit will switch your default credential cache to