1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-03 07:37:47 +00:00

update scripts to support str replace (#200)

This commit is contained in:
Darren Schroeder 2022-04-07 08:45:04 -05:00 committed by GitHub
parent 577ad93638
commit e6d8d2704e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 44 additions and 44 deletions

View file

@ -1,5 +1,5 @@
def "nu-complete git branches" [] {
^git branch | lines | each { |line| $line | str find-replace '\* ' "" | str trim }
^git branch | lines | each { |line| $line | str replace '\* ' "" | str trim }
}
def "nu-complete git remotes" [] {