Skip to content

Commit

Permalink
🐛 fix scoop completinos (an extra ) (nushell#780)
Browse files Browse the repository at this point in the history
Just deleting the extra `)`
  • Loading branch information
AucaCoyan committed Mar 9, 2024
1 parent 6d98fee commit 5e51b23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom-completions/scoop/scoop-completions.nu
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def scoopInstalledApps [] {
let localAppDir = if ('SCOOP' in $env) { [$env.SCOOP, 'apps'] | path join } else { [$env.USERPROFILE, 'scoop', 'apps'] | path join }
let localApps = (ls $localAppDir | get name | path basename)

let globalAppDir = if ('SCOOP_GLOBAL' in $env) { [$env.SCOOP_GLOBAL), 'apps'] | path join } else { [$env.ProgramData, 'scoop', 'apps'] | path join }
let globalAppDir = if ('SCOOP_GLOBAL' in $env) { [$env.SCOOP_GLOBAL, 'apps'] | path join } else { [$env.ProgramData, 'scoop', 'apps'] | path join }
let globalApps = if ($globalAppDir | path exists) { ls $globalAppDir | get name | path basename }

$localApps | append $globalApps
Expand Down

0 comments on commit 5e51b23

Please sign in to comment.