From f223f38fcab3c94402603d1fadb2d6fa0ac3d05a Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Fri, 11 Nov 2022 23:32:12 -0700 Subject: GNU Stow -> hstow, and follow-up tidying & simplifications --- .bash_defns | 10 ---------- 1 file changed, 10 deletions(-) (limited to '.bash_defns') diff --git a/.bash_defns b/.bash_defns index 76a76097..d1a994d7 100644 --- a/.bash_defns +++ b/.bash_defns @@ -50,16 +50,6 @@ package-plan-unpack () { ~/src/dotfiles/scripts/debian/package-plan-unpack "$1"; cd "/tmp/$1" } -# tidy up if I deleted files from stowed repos without properly -# restowing -kill-broken-stowed-symlinks () { - find "$HOME" -xtype l | while read -r link; do - if readlink "$link" | grep --quiet "^[../]*/.STOW/"; then - rm "$link" - fi - done -} - # install package(s) and immediately mark as auto installed, so it # will get cleaned up by the next autoclean. # --no-install-recommends is needed as otherwise packages are manually -- cgit v1.2.3