We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee276d1 commit ed7eaf1Copy full SHA for ed7eaf1
geometry.zsh
@@ -15,8 +15,7 @@ typeset -gA GEOMETRY; GEOMETRY[ROOT]=${0:A:h}
15
16
autoload -U add-zsh-hook
17
18
-fpath+=("${GEOMETRY[ROOT]}"/functions)
19
-autoload "${GEOMETRY[ROOT]}"/functions/*
+function { local fun; for fun ("${GEOMETRY[ROOT]}"/functions/*) . $fun }
20
21
(( $+functions[ansi] )) || ansi() { (($# - 2)) || echo -n "%F{$1}$2%f"; }
22
(( $+functions[deansi] )) || deansi() { (($# - 1)) || echo -n "$(echo "$1" | sed s/$(echo "\033")\\\[\[0-9\]\\\{1,2\\\}m//g)"; }
0 commit comments