https://github.com/aaronc81/rn
An organised dumping ground for quick code projects or experiments
https://github.com/aaronc81/rn
Last synced: 10 months ago
JSON representation
An organised dumping ground for quick code projects or experiments
- Host: GitHub
- URL: https://github.com/aaronc81/rn
- Owner: AaronC81
- Created: 2019-08-22T20:10:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-23T16:24:53.000Z (over 6 years ago)
- Last Synced: 2025-03-06T15:17:08.343Z (10 months ago)
- Language: Shell
- Size: 1000 Bytes
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rn
## Overview
rn is an **organised dumping ground for quick experiments.**
Be honest - how many files with names like `test-something` do you have
scattered around your user directory? rn offers an instant way of creating
these folders, with a single short command, out of the way of all of your
other files.
Everything gets put into directories in `~/.rn`. If something becomes important,
move it out of there!
## Usage
You don't need to give a name:
```
aaron:~$ rn
Created: ~/.rn/2019-08-22-1438/
aaron:~/.rn/2019-08-22-1438$
```
...but you can give a name if you like:
```
aaron:~$ rn my first test
Created: ~/.rn/2019-08-22-1438-my-first-test/
aaron:~/.rn/2019-08-22-1438-my-first-test$
```
You can even specify a command you'd like to run immediately. For example, to
create a new directory and then run `code .` inside it, you can make `+code` the
first argument:
```
aaron:~$ rn +code ide test
Created: ~/.rn/2019-08-22-1438-ide-code/
Running: code .
aaron:~/.rn/2019-08-22-1438-ide-code$ # VS Code is now open in the directory
```
## Installation
rn is a bash function. Either source it in your `~/.bashrc`, or just copy-paste
it in.