Kevin Heinicke il y a 7 ans
Parent
commit
ae7aa9f5fe
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      zshrc

+ 1 - 1
zshrc

@@ -19,7 +19,7 @@ fi
 # random string function
 random-string()
 {
-  LC_CTYPE=C tr -dc A-Za-z0-9 < /dev/urandom | fold -w ${1:-32} | head -n 1
+  LC_ALL=C tr -dc A-Za-z0-9 < /dev/urandom | fold -w ${1:-32} | head -n 1
 }
 
 # make code printable with pandocs