sqn-completion - Suppress error for -pl (if seq has no profiles)
This commit is contained in:
@@ -35,7 +35,7 @@ _sqn_completions()
|
||||
# provide completion for option with parameter
|
||||
-p|--profile)
|
||||
# sequencer.sh provides creation of a profile list with search functionality
|
||||
read -r -a COMPREPLY <<<"$( "$curCmd" -pl "${cur}" )"
|
||||
read -r -a COMPREPLY <<<"$( "$curCmd" -pl "${cur}" 2>/dev/null)"
|
||||
;;
|
||||
*)
|
||||
# Stop after step selection (last argument which is not an option (starting with "-|+")
|
||||
|
Reference in New Issue
Block a user