From 7f5355e527f1e23b7e8aad555466870a2002cb80 Mon Sep 17 00:00:00 2001 From: Oldes Date: Wed, 2 Jan 2019 12:39:43 +0100 Subject: [PATCH] FIX: moved setting system/options/home directory shortcut (~) to final phase --- src/mezz/mezz-shell.r | 1 - src/mezz/mezz-tail.r | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mezz/mezz-shell.r b/src/mezz/mezz-shell.r index 4f21b886cf..49956fd90f 100644 --- a/src/mezz/mezz-shell.r +++ b/src/mezz/mezz-shell.r @@ -15,7 +15,6 @@ ls: :list-dir pwd: :what-dir rm: :delete mkdir: :make-dir -~: system/options/home cd: func [ "Change directory (shell shortcut function)." diff --git a/src/mezz/mezz-tail.r b/src/mezz/mezz-tail.r index c0ff789ce6..9f03a35b30 100644 --- a/src/mezz/mezz-tail.r +++ b/src/mezz/mezz-tail.r @@ -22,6 +22,9 @@ func: funco [ make function! copy/deep reduce [spec body] ; (now it deep copies) ] +;- Shortcut for home directory +~: system/options/home + ; Quick test runner (temporary): run-tests: qt: function["Runs quick test"][ if any [