Skip to content

Commit d14793d

Browse files
committed
FEAT: adding codecs as a shortcut for system/codecs and keys-of as an alias to words-of
Because `keys-of codecs` looks better than `words-of system/codecs`
1 parent 6ca3c17 commit d14793d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/mezz/mezz-tail.r

+6-1
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ func: funco [
2222
make function! copy/deep reduce [spec body] ; (now it deep copies)
2323
]
2424

25-
;- Shortcut for home directory
25+
;- some shortcuts (aliases)
2626
~: system/options/home
27+
codecs: :system/codecs
28+
keys-of: :words-of ; as it sounds better when used with some objects
2729

2830
; Quick test runner (temporary):
2931
run-tests: qt: function["Runs quick test"][
@@ -42,4 +44,7 @@ t: function["Test script shortcut"][
4244
][ do script ]
4345
]
4446

47+
; Just a shortcut to evaluate content of the clipboard (temporary):
48+
drc: does [do read clipboard://]
49+
4550
protect system/standard

0 commit comments

Comments
 (0)