Revision 23782,
348 bytes
checked in by broder, 15 years ago
(diff) |
In dotfiles:
* Implement setup for bash. (Trac: #104)
|
Rev | Line | |
---|
[23782] | 1 | # Prototype file sourced by "remove" alias |
---|
| 2 | |
---|
| 3 | if [ -n "$setup_dir" -a -n "$setup_filsys" ]; then |
---|
| 4 | if [ -r $setup_dir/.detachrc.bash ]; then |
---|
| 5 | source $setup_dir/.detachrc.bash |
---|
| 6 | fi |
---|
| 7 | cd / # get out of locker |
---|
| 8 | /bin/detach $setup_filsys |
---|
| 9 | kill -HUP $$ # cause shell to exit |
---|
| 10 | fi |
---|
| 11 | |
---|
| 12 | echo "Remove only works from the same shell in which you typed setup." |
---|
Note: See
TracBrowser
for help on using the repository browser.