diff --git a/slsDetectorSoftware/generator/autocomplete/bash_autocomplete.sh b/slsDetectorSoftware/generator/autocomplete/bash_autocomplete.sh index 2da4347ed..f4ac7c107 100644 --- a/slsDetectorSoftware/generator/autocomplete/bash_autocomplete.sh +++ b/slsDetectorSoftware/generator/autocomplete/bash_autocomplete.sh @@ -1505,6 +1505,7 @@ fi if [[ ${IS_GET} -eq 0 ]]; then if [[ "${cword}" == "2" ]]; then FCN_RETURN="" +IS_PATH=1 fi fi return 0 @@ -1514,6 +1515,7 @@ FCN_RETURN="" if [[ ${IS_GET} -eq 1 ]]; then if [[ "${cword}" == "2" ]]; then FCN_RETURN="" +IS_PATH=1 fi fi return 0 diff --git a/slsDetectorSoftware/generator/autocomplete/zsh_autocomplete.sh b/slsDetectorSoftware/generator/autocomplete/zsh_autocomplete.sh index c4c36afe7..313108167 100644 --- a/slsDetectorSoftware/generator/autocomplete/zsh_autocomplete.sh +++ b/slsDetectorSoftware/generator/autocomplete/zsh_autocomplete.sh @@ -1429,6 +1429,7 @@ fi if [[ ${IS_GET} -eq 0 ]]; then if [[ "${cword}" == "2" ]]; then FCN_RETURN="" +IS_PATH=1 fi fi return 0 @@ -1438,6 +1439,7 @@ FCN_RETURN="" if [[ ${IS_GET} -eq 1 ]]; then if [[ "${cword}" == "2" ]]; then FCN_RETURN="" +IS_PATH=1 fi fi return 0 diff --git a/slsDetectorSoftware/generator/commands.yaml b/slsDetectorSoftware/generator/commands.yaml index 4d8ac3586..a31d5ac73 100644 --- a/slsDetectorSoftware/generator/commands.yaml +++ b/slsDetectorSoftware/generator/commands.yaml @@ -3884,8 +3884,8 @@ patternX: require_det_id: true function: setPattern input: [ 'args[0]' ] + arg_types: [special::path] input_types: [ std::string ] - cast_input: [ false ] output: [ 'args.front()' ] patword: diff --git a/slsDetectorSoftware/generator/extended_commands.yaml b/slsDetectorSoftware/generator/extended_commands.yaml index 6702c6a12..65499d2f9 100644 --- a/slsDetectorSoftware/generator/extended_commands.yaml +++ b/slsDetectorSoftware/generator/extended_commands.yaml @@ -6539,7 +6539,7 @@ patternX: PUT: args: - arg_types: - - std::string + - special::path argc: 1 cast_input: - false