Skip to content

Commit

Permalink
suppress pipeline error in completion module
Browse files Browse the repository at this point in the history
  • Loading branch information
sekiguchi-nagisa committed Apr 21, 2024
1 parent 81e1dac commit a192886
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions share/arsh/modules/completion.arsh
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ function _comp_wrap(file : String, target : String, words : [String], cursor : I
}
var long = $line.startsWith('--') && $line.endsWith('=') # suppress automatic space insertion for `--long=`
$ret.add($line, $space: $long ? 0 : -1)
$? = 0 # suppress error
}
return $ret.size() == 0 ? $none : $ret
}
Expand Down

0 comments on commit a192886

Please sign in to comment.