use absolute path for cat in genpwd function

whole-command-tab-completion
bretello 2020-02-14 16:37:51 +01:00
parent 20d0615efb
commit 99f49ca9bc
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ function genpwd
else
strlen=32
fi
cat /dev/urandom | env LC_CTYPE=C tr -dc '[:graph:]' | fold -w $strlen | head -n 1
/bin/cat /dev/urandom | env LC_CTYPE=C gtr -dc '[:graph:]' | fold -w $strlen | head -n 1
}