dotfiles/install.sh
2023-11-10 15:49:08 +00:00

22 lines
342 B
Bash
Executable File

#!/bin/sh
#
# Install my dotfiles.
#
STOW=$(which stow)
if [ -z "$STOW" ]; then
STOW=./stow.sh
fi
rm -f $HOME/.zshrc $HOME/.profile >/dev/null 2>&1
find * -maxdepth 0 -type d | xargs -I{} $STOW -t "$HOME" {}
#func encrypt() {
# openssl enc -e -aes256 -base64 -in $1
#}
#
#func decrypt() {
# openssl enc -d -aes256 -base64 -in $1
#}