repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

nushell: filter -> where. filter is dprecated now...

61eede60aec913e09f5a6b7d3ec7ed5f15184f5f

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (1)

nushell/modules/package/installer.nu

Modified
117 117 ls $source
118 118 | where type == 'file'
119 119 | get name
120 - | filter { is-executable }
120 + | where { is-executable }
121 121 | par-each {
122 122 |file|
123 123 let target = ([(folders binaries) ($file | path basename)] | path join)