mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 06:37:46 +00:00
parent
71d2eaf516
commit
874918fdd3
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ export def parse [] {
|
|||
for c in $token {
|
||||
if ($sw | is-empty) {
|
||||
if ($c | str starts-with '-') {
|
||||
let c = if ($c | str substring 1..2) != '-' {
|
||||
let c = if ($c | str substring 1..<2) != '-' {
|
||||
let k = ($c | str substring 1..)
|
||||
if $k in $sign.name {
|
||||
$'($sign.name | get $k)'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue