mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 11:14:08 +00:00
chore: fix used var in local/dfm/lib/utils.sh
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Signed-off-by: Ismo Vuorinen <ismo@ivuorinen.net>
This commit is contained in:
@@ -314,6 +314,7 @@ main::get_command_functions()
|
||||
main::get_function_description()
|
||||
{
|
||||
local cmd_file="$1"
|
||||
local cmd_file="${DFM_CMD_DIR}/${cmd}.sh"
|
||||
local func="$2"
|
||||
|
||||
grep -B1 "^[[:space:]]*\(function[[:space:]]*\)\{0,1\}$func().*{" "$cmd_file" \
|
||||
|
||||
Reference in New Issue
Block a user