Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
bashrc-rain: reformat :pp()
  • Loading branch information
grawity committed Feb 18, 2017
1 parent 3b8fc3a commit 9314779
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bashrc-rain
Expand Up @@ -143,7 +143,11 @@ youtube-dl() {

:pp() {
local var=$1 k=; local -n ref=$1
echo "$var=("; for k in ${!ref[@]}; do echo " [$k]='${ref[$k]}'"; done; echo ")"
echo "$var=("
for k in ${!ref[@]}; do
echo " [$k]='${ref[$k]}'"
done
echo ")"
}

nssdb="sql:$HOME/.pki/nssdb"
Expand Down

0 comments on commit 9314779

Please sign in to comment.