1
0

treewide: style (trivia)

This commit is contained in:
2021-10-01 10:14:53 +03:00
parent f07d2d3b35
commit bc5e07f76e
4 changed files with 11 additions and 12 deletions

View File

@@ -17,9 +17,9 @@ z-alt-find() {
c=$(which "${a[1]}")
[ -z "$c" ] && continue
# r=$(readlink -f "$c" 2>/dev/null)
# [ -z "$r" ] && continue
# a[1]="$r"
# r=$(readlink -f "$c" 2>/dev/null)
# [ -z "$r" ] && continue
# a[1]="$r"
if [ -n "$2" ] ; then
t="$a $2"

View File

@@ -21,7 +21,7 @@ ZSHU_PS[cmd_threshold]=3
__z_cmdtime_precmd() {
local t=${EPOCHREALTIME}
# local t=${(%):-%D{%s.%9.}}
# local t=${(%):-%D{%s.%9.}}
ZSHU_PS[elapsed]=''
(( ${+ZSHU_PS[cmd_ts]} )) || return
@@ -41,7 +41,7 @@ __z_cmdtime_precmd() {
__z_cmdtime_preexec() {
ZSHU_PS[cmd_ts]=${EPOCHREALTIME}
# ZSHU_PS[cmd_ts]=${(%):-%D{%s.%9.}}
# ZSHU_PS[cmd_ts]=${(%):-%D{%s.%9.}}
}
add-zsh-hook precmd __z_cmdtime_precmd