Propose bashrc alias bootstrap flag

This commit proposes a bootstrap flag that can be passed into the contrib subapplication for backwards compatibility if applications disappear from `/usr/bin/`. Backwards compatibility would persist for those that opt into the feature by adding `source $(tilde contrib --bootstrap)` to their ~/.bashrc or added globally with a modification to /etc/bash_profile. Additionally new features would be made available to everyone who uses this command to bootstrap their shell environment as soon as they are approved by a server admin.
This commit is contained in:
Britt Gresham 2018-02-19 17:20:39 -08:00 committed by GitHub
parent 86d22f91c0
commit cd263b031c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -57,6 +57,12 @@ $ tilde contrib --list
feels
writo
# truncated for example's sake
$ tilde contrib --bootstrap
alias botany='tilde contrib botany'
alias feels='tilde contrib feels'
alias writo='tilde contrib writo'
# truncated for example's sake
# For backwards compatability when included in ~/.bashrc as `source $(tilde contrib --bootstrap)`
$ tilde contrib botany
# ...runs botany
$ vim cool_program