From 52506e88a53f3704543fc723296842e81fe96da5 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Fri, 12 Jul 2024 16:36:02 +0100 Subject: [PATCH] Add stow command for convenience --- .stow-ignore-local | 1 + stow | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100755 stow diff --git a/.stow-ignore-local b/.stow-ignore-local index 1e815b5..caca59d 100644 --- a/.stow-ignore-local +++ b/.stow-ignore-local @@ -25,3 +25,4 @@ _darcs install.py \.gitmodules scripts +stow diff --git a/stow b/stow new file mode 100755 index 0000000..83b022b --- /dev/null +++ b/stow @@ -0,0 +1,10 @@ +#!/bin/env bash +set -e +if [ -f $HOME/.bashrc ]; then + echo 'Removing existing bashrc...' + mv $HOME/.bashrc $HOME/.bashrc.pre-stow +fi; + +echo 'All file conflicts resolved, stowing...' +stow . +echo 'Finished stowing.'