Skip to content

oxo42/drox

Repository files navigation

drox

Dot Repository for Ox

Linux Install

Standalone box

i.e. not part of puppet or something

curl https://raw.githubusercontent.com/oxo42/drox/master/standaloneinstall.sh | bash

.bashrc

if [ -f ~/.drox/bashrc ] ; then
    # Source the bashrc and continue so the shell is useable now
    source ~/.drox/bashrc
fi

.profile

# Install or update https://github.com/oxo42/drox
if hash git ; then
    if [ -d ~/.drox ] ; then
        # Start the update script silently in the background and send logs to /tmp/droxlog
        (cd ~/.drox && ./update.sh 2>&1 &) >> /tmp/droxlog
    else
        (curl https://raw.githubusercontent.com/oxo42/drox/master/install.sh | bash 2>&1 &) >> /tmp/droxlog
    fi
fi

I do the install in my .profile because I want to push it out over puppet. That way on my first login, my profile gets set up.

Windows Install

Windows WHAT. PowerShell huh? .gitconfig? .vim? Cats and dogs living together? MADNESS I TELL YOU, MADNESS!!

(new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/oxo42/drox/master/Install-Drox.ps1") | iex

About

Dot Repository for Ox

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published