Skip to content

Commit d5a978b

Browse files
committed
FEAT: define ~ as a shortcut for system/options/home
So it is like in *nix shells and one can use it like: ``` >> cd ~ == %/X/Rebol/ >> cd ~/.. == %/X/ ```
1 parent 956119c commit d5a978b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mezz/mezz-shell.r

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ ls: :list-dir
1515
pwd: :what-dir
1616
rm: :delete
1717
mkdir: :make-dir
18+
~: system/options/home
1819

1920
cd: func [
2021
"Change directory (shell shortcut function)."

0 commit comments

Comments
 (0)