diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-04-17 22:23:32 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-04-17 22:23:32 -0700 |
commit | 6e2d6dbd38db570fc3041584d0508c0450aca65c (patch) | |
tree | e5eda0ab70b5bbdb33ab0b183d4abda52d14f921 /.bashrc | |
parent | 61ce8f75b9915b1162102f71b5a6542e0f040438 (diff) | |
download | dotfiles-6e2d6dbd38db570fc3041584d0508c0450aca65c.tar.gz |
package-plan-unpack
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -162,6 +162,17 @@ debrel () { ) } +package-plan-unpack () { + package="$1" + patches="$HOME/src/package-plan/patches/${package%-*}/${package##*-}" + cd /tmp + cabal unpack "$package" + cd "$package" + mkdir -p "$patches" + ln -s "$patches" patches + ls "$(readlink $patches)" +} + # tidy up if I deleted files from stowed repos without properly # restowing kill-broken-stowed-symlinks () { |