From 0a33a11cdefb1575fce5434b990d33c56c00580f Mon Sep 17 00:00:00 2001 From: Sam Morrison Date: Tue, 20 Jan 2015 18:46:44 +0900 Subject: [PATCH] rename local variable passgen back to pass --- plugins/available/base.plugin.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/available/base.plugin.bash b/plugins/available/base.plugin.bash index 850cdb46..10f5a2bf 100644 --- a/plugins/available/base.plugin.bash +++ b/plugins/available/base.plugin.bash @@ -47,7 +47,7 @@ function passgen () example '$ passgen' example '$ passgen 6' group 'base' - local i passgen length=${1:-4} + local i pass length=${1:-4} pass=$(echo $(for i in $(eval echo "{1..$length}"); do pickfrom /usr/share/dict/words; done)) echo "With spaces (easier to memorize): $pass" echo "Without (use this as the password): $(echo $pass | tr -d ' ')"