fish: add function to find broken symlinks
This commit is contained in:
parent
1ffb952480
commit
cbbeba15bf
5
fish/functions/broken_symlinks.fish
Normal file
5
fish/functions/broken_symlinks.fish
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
function broken_symlinks
|
||||||
|
for link in (fd --type=symlink --hidden --exclude=.git --exclude=Library "" $HOME | sort)
|
||||||
|
test -e $link || echo $link
|
||||||
|
end
|
||||||
|
end
|
Loading…
x
Reference in New Issue
Block a user