diff --git a/plugins/available/jake-typos.plugin.bash b/plugins/available/jake-typos.plugin.bash index 34eb500894..1a44a189dc 100644 --- a/plugins/available/jake-typos.plugin.bash +++ b/plugins/available/jake-typos.plugin.bash @@ -10,7 +10,7 @@ function typo { local key val alias case $# in 0) - vim "$(realpath "${BASH_SOURCE[*]}")" + vim "$(realpath "${BASH_SOURCE}")" return ;; 1)