Skip to content

Commit

Permalink
Update version and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jotadrilo committed Jun 25, 2019
1 parent 5b28656 commit c500572
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 18 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- **Remove** `use` option
- Add **terminal interface** to the new `sel` option to prompt the list of folders and use the selected one
- Add **terminal interface** to the `del` option to prompt the list of folders and delete the selected one
- **Adjust shell helpers** to work with this new feature

## Release 0.0.14 (2019-06-25)
Expand Down
36 changes: 19 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ If you usually run tons of commands that generate garbage, wherever you are, you

```
mkdir -p rubbi-sh && \
curl -sSL https://github.com/jotadrilo/rubbi-sh/releases/download/0.0.14/rubbi-sh_0.0.14_linux_x86_64.tar.gz | tar xzf - -C rubbi-sh && \
curl -sSL https://github.com/jotadrilo/rubbi-sh/releases/download/0.1.0/rubbi-sh_0.1.0_linux_x86_64.tar.gz | tar xzf - -C rubbi-sh && \
sudo bash -c 'cd rubbi-sh; ./install.sh'
```

Expand All @@ -32,7 +32,7 @@ Alternative:

```
mkdir -p rubbi-sh && \
curl -sSL https://github.com/jotadrilo/rubbi-sh/releases/download/0.0.14/rubbi-sh_0.0.14_darwin_x86_64.tar.gz | tar xzf - -C rubbi-sh && \
curl -sSL https://github.com/jotadrilo/rubbi-sh/releases/download/0.1.0/rubbi-sh_0.1.0_darwin_x86_64.tar.gz | tar xzf - -C rubbi-sh && \
sudo bash -c 'cd rubbi-sh; ./install.sh'
```

Expand Down Expand Up @@ -92,30 +92,32 @@ This helper will add a new custom rubbish folder. It will not change the working

### rubdel

This helper will delete an existing rubbish folder by number.
This helper will prompt the list of folders and will delete to the choosen one.

```
> jotadrilo @ ~ $ rubshow
[0] 20190613 /tmp/rubbish/20190613
[1] 20190614 /tmp/rubbish/20190614
[2] foo /tmp/rubbish/foo
> jotadrilo @ ~ $ rubdel 2
> jotadrilo @ ~ $ rubshow
[0] 20190613 /tmp/rubbish/20190613
[1] 20190614 /tmp/rubbish/20190614
> jotadrilo @ ~ $ rubdel
Use the arrow keys to navigate: ↓ ↑ → ←
? Select Folder:
/tmp/rubbish/20190625
▸ /tmp/rubbish/20190626
✔ /tmp/rubbish/20190626
> jotadrilo @ ~ $
```

> **NOTE:** If the choosen folder was the latest one, the last folder in the list will become the new latest folder.
### rubsel

This helper will prompt the list of folders and will ask for a folder number to `cd`.
This helper will prompt the list of folders and will `cd` to the choosen one.

```
> jotadrilo @ ~ $ rubsel
[0] 20190613 /tmp/rubbish/20190613
[1] 20190614 /tmp/rubbish/20190614
Folder to use: 1
> jotadrilo @ /tmp/rubbish/20190614 $
Use the arrow keys to navigate: ↓ ↑ → ←
? Select Folder:
▸ /tmp/rubbish/20190625
/tmp/rubbish/20190626
✔ /tmp/rubbish/20190625
> jotadrilo @ /tmp/rubbish/20190625 $
```

## Development
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.14
0.1.0

0 comments on commit c500572

Please sign in to comment.