Skip to content

Commit

Permalink
docs(readme) Console: Environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Nov 18, 2016
1 parent ccb691e commit ec269d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion HELP.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,14 +198,16 @@ Console

For more details see [console hot keys](https://github.com/cloudcmd/console#hot-keys "Console Hot Keys").

### Environment variables

Every program executed in `console` has these `environment` variables:

- `ACTIVE_DIR` - directory that contains cursor
- `PASSIVE_DIR` - directory with no cursor
- `CURRENT_NAME` - name of a file under cursor
- `CURRENT_PATH` - path to file under cursor

On Unix you can use it this way:
On `Unix` you can use it this way:

```sh
~> echo $CURRENT_PATH
Expand Down

0 comments on commit ec269d9

Please sign in to comment.