dotfiles
Find a file
2024-07-04 00:04:19 +02:00
lvim/.config/lvim initial commit 2023-08-26 14:19:53 +02:00
nvim/.config/nvim add custom injections nvim 2024-07-04 00:04:19 +02:00
tmux/.config/tmux update 2024-06-25 09:33:22 +02:00
zsh update 2024-06-25 09:33:22 +02:00
lvim.README initial commit 2023-08-26 14:19:53 +02:00
nvim.README initial commit 2023-08-26 14:19:53 +02:00
README initial commit 2023-08-26 14:19:53 +02:00
tmux.README update tmux config 2023-10-28 14:45:16 +02:00
zsh.README initial commit 2023-08-26 14:19:53 +02:00

#!/bin/sh

# To install configuration, run this file with a directory name of the config
# example: ./README zsh  # installs zsh config

if ! command -v stow > /dev/null; then
    printf 'missing "stow" dependency\n'
fi

[ -e "$1" ] && stow "$1" || echo "package \"$1\" not found"

if [ -e "$1.README" ]; then
    printf '%s.README\n======\n' "$1"
    cat "$1.README"
    printf '\n'
fi