helm/zlogout
2015-12-21 01:32:38 -05:00

13 lines
257 B
Bash

# 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