mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
update predefined strategies
This commit is contained in:
parent
04a8736841
commit
650aad5f08
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ _zsh_autosuggest_predefined_generate() {
|
|||
for p ("${(@s/:/)PATH}"); do
|
||||
[ ! -d "$p" ] && continue
|
||||
cd "$p"
|
||||
local files=("${(@f)$(ls -la | awk -F ' ' '{print $9}')}")
|
||||
local files=($(command ls))
|
||||
for fn in ${files}; do
|
||||
if [ -x "$fn" ] && [[ "${fn:l}" != *.dll ]]; then
|
||||
if [ -f "$fn" ] && [[ "${fn:l}" != *.nls ]]; then
|
||||
|
|
|
@ -604,7 +604,7 @@ _zsh_autosuggest_predefined_generate() {
|
|||
for p ("${(@s/:/)PATH}"); do
|
||||
[ ! -d "$p" ] && continue
|
||||
cd "$p"
|
||||
local files=("${(@f)$(ls -la | awk -F ' ' '{print $9}')}")
|
||||
local files=($(command ls))
|
||||
for fn in ${files}; do
|
||||
if [ -x "$fn" ] && [[ "${fn:l}" != *.dll ]]; then
|
||||
if [ -f "$fn" ] && [[ "${fn:l}" != *.nls ]]; then
|
||||
|
|
Loading…
Reference in a new issue