Skip to content

Instantly share code, notes, and snippets.

@peterneave
Last active September 20, 2018 06:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterneave/006b3679cabe2b34a2db1c0384bd8f29 to your computer and use it in GitHub Desktop.
Save peterneave/006b3679cabe2b34a2db1c0384bd8f29 to your computer and use it in GitHub Desktop.
Racher OS
#!/usr/bin/env bash
function git () {
(docker run -ti --rm -v ${HOME}:/root -v $(pwd):/git alpine/git "$@")
}
function htop () {
(docker run --rm --pid=host -it imwithye/htop)
}
function vim () {
(docker run -ti --rm -v $(pwd):/root thinca/vim "$@")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment