23 lines
336 B
Bash
Executable File
23 lines
336 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
|
|
}
|
|
|