mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-12-22 23:31:32 +01:00
use absolute path for cat in genpwd function
This commit is contained in:
parent
20d0615efb
commit
99f49ca9bc
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user