Skip to content

Commit

Permalink
FEAT: define ~ as a shortcut for system/options/home
Browse files Browse the repository at this point in the history
So it is like in *nix shells and one can use it like:
```
>> cd ~
== %/X/Rebol/

>> cd ~/..
== %/X/

```
  • Loading branch information
Oldes committed Jun 20, 2018
1 parent 956119c commit d5a978b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mezz/mezz-shell.r
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ ls: :list-dir
pwd: :what-dir
rm: :delete
mkdir: :make-dir
~: system/options/home

cd: func [
"Change directory (shell shortcut function)."
Expand Down

0 comments on commit d5a978b

Please sign in to comment.