helm/zlogout

13 lines
257 B
Plaintext
Raw Normal View History

2015-12-20 21:40:38 -08:00
# Clean up symlinks in fasd
if is-callable 'fasd'; then
for entry in $(fasd -l); do
if [[ -L "$entry" ]]; then
local realpath=$(realpath "$entry")
fasd -D "$entry"
fasd -A "$realpath"
fi
done
fi