Skip to main content

[![Build Status](https://travis-ci.org/konstantinfarrell/hotrc.svg?branch=master)](https://travis-ci.org/konstantinfarrell/hotrc) [![Coverage Status](https://coveralls.io/repos/github/konstantinfarrell/hotrc/badge.svg?branch=master)](https://coveralls.io/github/konstantinfarrell/hotrc?branch=master)

# HotRC

hotrc (“hot-are-see”) is a python based command line utility that lets you add or remove an alias to/from your .bashrc file without having to jump around between text editors, or restart the shell. It is advantageous to alias as the changes to .bashrc are persistent and don’t rely on the user session.

## Install

Clone this repo into a local directory, and install.

git clone https://github.com/konstantinfarrell/hotrc.git ~/.hotrc cd ~/.hotrc make

## Run

When you run initially, you will be prompted for the location of your .bashrc file. Any active, absolute path to a bash configuration file will work.

## API

Syntax is structured as follows

hotrc command arg1 ‘arg2’

arg2 should be put in quotes if the alias command contains a space.

Commands

  • new: Takes 2 arguments, key and value and constructs a .bashrc alias for them.

    If arguments arent provided, the user will be prompted for them.

  • list: Takes no arguments. Lists all current aliases in the .bashrc

  • remove: Takes 1 or 2 arguments: key, or key and value, and removes the corresponding alias from the .bashrc file.

  • reset: Deletes old entry and prompts the user for the path to the .bashrc file. Only absolute paths are accepted.

Release files for HotRC 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for HotRC 0.2.2
File Size Uploaded
HotRC-0.2.2.tar.gz 8.8 kB Details

Release files / HotRC-0.2.2.tar.gz

Download URL HotRC-0.2.2.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
dc614b0f5a834cd79046d9eee88983a23fec3d5e422878719b74d9202419c354
BLAKE2b-256 checksum
How to use checksums
36906a9d9135789ce0f96d69c26d4e8de8bc96b3a11eb46069b9988632db7034
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.2 This release

1 release file

0.2.1

1 release file

0.2.0

0.1.9

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page