mirror of
https://github.com/eth-p/bat-extras.git
synced 2025-03-04 16:31:17 +01:00
Less is called with a filename, and if we basename CMD of less we get a basename of a filename, not a less executable. I think it's just a type that basename was piped to cut, CMD should be cut'ed before processed by basename. As parent_executable is only used by batpipe, we can just cut CMD and extract program name. |
||
---|---|---|
.. | ||
check.sh | ||
constants.sh | ||
dirs.sh | ||
dsl.sh | ||
opt_hook_color.sh | ||
opt_hook_help.sh | ||
opt_hook_pager.sh | ||
opt_hook_version.sh | ||
opt_hook_width.sh | ||
opt.sh | ||
pager.sh | ||
path.sh | ||
print.sh | ||
proc.sh | ||
str.sh | ||
term.sh | ||
version.sh |