zsh: treewide: minor fixes/style
This commit is contained in:
@@ -2,9 +2,11 @@
|
||||
|
||||
## sort-n-fill PATH
|
||||
function {
|
||||
local -a p=( $path )
|
||||
local -a p
|
||||
local -aU t npath games
|
||||
|
||||
p=( $path )
|
||||
|
||||
## strip "games" first :)
|
||||
t=( ${(@)p:#*games*} )
|
||||
games+=( ${(@)p:|t} )
|
||||
|
Reference in New Issue
Block a user