13 lines
257 B
Bash
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
|
|
|