Fix invalid range in node segment

Fixes #326
This commit is contained in:
Justin Hileman 2022-08-01 21:41:04 -06:00 committed by GitHub
parent 14a6f2b317
commit 2dcfcab653
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -897,7 +897,7 @@ end
function __bobthefish_prompt_find_file_up -S -d 'Find file(s), going up the parent directories'
set -l dir "$argv[1]"
set -l files $argv[2..]
set -l files $argv[2..-1]
if test -z "$dir"
or test -z "$files"