source: trunk/debathena/debathena/dotfiles/env_remove.bash @ 23782

Revision 23782, 348 bytes checked in by broder, 15 years ago (diff)
In dotfiles: * Implement setup for bash. (Trac: #104)
RevLine 
[23782]1# Prototype file sourced by "remove" alias
2
3if [ -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
10fi
11
12echo "Remove only works from the same shell in which you typed setup."
Note: See TracBrowser for help on using the repository browser.