Skip to content

script: install exes and rclinks from script/dotfile repos

Notifications You must be signed in to change notification settings

smemsh/installx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

installx

installx, installrc

Populates binfiles in ~/bin/ and dotfile symlinks like ~/.foorc -> src/dotfiles/foo.conf, from git checkouts.

Installs from dir <cwd> (or $1) all executable files and symlinks (installx), or all .rclinks (installrc), to <homedir> (or $2).

installx: cp exefiles, and symlinks to in-dir exes, from ${1:-.}/ to ${2:-~/bin}/
installrc: recreate using relative links in ${2:-~}/, all .rclinks in ${1:-.}/ which target files in {$1:-.}/, including any intermediate links (with needed mkdirs) in chains of multi-level symlinks, as long as all levels are descendants of ${1:-.}/ and the end target is in ${1:-.}/

This is currently used to manifest the changes pulled in bin/dotfile repositories deployed with a git clone and kept updated by using https://github.com/smemsh/git-reltag/, but the latter tool is not required.

About

script: install exes and rclinks from script/dotfile repos

Resources

Stars

Watchers

Forks

Packages

No packages published