Skip to main content

Description

Project description

rc4me

Continuous Integration

Run Commands 4 Me: Quickly and easily set up your run commands files

Project description

rc4me aims to simplify and expedite setting up your run command files (.bashrc, .bashprofile, .vimrc...) on your computer. Work environment here is defined as the set of run command files that define your shell configuration. If find yourself working on different dev boxes, you may be interested in this package. With a single command, you are all set!

Example: "M, check out this new vim plugin I've been using"-J ...M runs an rc4me apply command... "Cool dude, but not for me"-M ...M reverts to his work environment using rc4me revert...

Setup

There are two pieces of the set-up:

  1. installing the package
    1. setting up a git repo with your run commands.

1. Install

pip

rc4me is available on pip. You'll need pip.

pip install rc4me

From source

To install from source, you'll need to run a git clone then a local pip install (done as a make command):

git clone wiggums-analytics/rc4me
make install

2. Setting up your run commands repo

You'll need to put your run commands on github for rc4me to find them. Run command files are typically hidden---i.e., has a dot in front ~/.bashrc. rc4me expects your rc files in your repo to not hidden (no dot). For example

# My repo
bashrc
bash_profile
vimrc

An example repo can be found here.

Basic usage

Grab and setup rc files from mstefferson/rc-demo

rc4me apply mstefferson/rc-demo

If you want to reset everything:

rc4me reset

Note, reset will reset the configuration that rc4me saw when running it's first command.

Note, after running commands, the changes will be applied in a new shell--i.e., we don't source bash files.

Getting help

List CLI commands:

rc4me --help

For help on a specific command (e.g., apply):

rc4me apply --help

What is rcm4e doing?

rc4me downloads files for github and soft-links them on you computer. All the files rc4me interacts with are saved in ~/.rc4me/. rc4me softlinks files to the user provided destination.

Danger zone

rc4me can undo everything it does unless you nuke ~/.rc4me. It is highly recommended to not delete ~/.rc4me without running rc4me reset first.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rc4me-0.1.1.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rc4me-0.1.1-py2.py3-none-any.whl (10.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file rc4me-0.1.1.tar.gz.

File metadata

  • Download URL: rc4me-0.1.1.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for rc4me-0.1.1.tar.gz
Algorithm Hash digest
SHA256 90271336894e833915a4c42d61fd253aca31cffa0579b0c48fd50bf9d88feafe
MD5 e19845da31b25289f276a358eee282ee
BLAKE2b-256 ce5c722517f3583fd00ca06197c8b5d5fec1b50447c34d85e8905c67ff6e12c1

See more details on using hashes here.

File details

Details for the file rc4me-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: rc4me-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for rc4me-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f6fffecc950a9d3b0859a40fdbdf9c560b51e53b7d08851354d4fd707c13f500
MD5 7e155a5ffa756606d04eda3b3fe2c5f5
BLAKE2b-256 1fb7bd261a5064bb92d41fa605b636d5a830b37d3b50af548da862aa8b08ef2b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page