Add an install.sh that attempts to determine the OS, install stow and then call my apply-dotfiles script to use stow. The old installation process that was based on nix, has been moved to nix-install.
18 lines
256 B
Bash
Executable File
18 lines
256 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
apply_dotfile() {
|
|
directory_to_stow="${1}"
|
|
stow -D -d "${directory_to_stow}" -t "${HOME}"
|
|
}
|
|
|
|
apply_dotfile bash
|
|
apply_dotfile sh
|
|
apply_dotfile readline
|
|
|
|
apply_dotfile vim
|
|
|
|
apply_dotfile ruby
|
|
apply_dotfile python
|
|
|
|
apply_dotfile ssh
|