#!/usr/bin/env nu # SPDX-License-Identifier: AGPL-3.0-only # Copyright (c) 2026 MatrixFurry # Remove broken symlinks from `~/.local/bin` export def main [] { ls -l ~/.local/bin | where type == symlink | each {|link| if not ($link.target | path exists) { print $"Removing ($link.name)" rm $link.name } } null }