From feb3430ce5524e1d8a7af45bfec1e73b8c3d94fa Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Tue, 9 Sep 2014 10:06:17 +0200 Subject: [PATCH] Untabify --- bashrc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bashrc b/bashrc index 898371a..0b632e3 100644 --- a/bashrc +++ b/bashrc @@ -10,15 +10,15 @@ ssh-agent-restore() export SSH_AGENT_PID="${SSH_AUTH_SOCK##/*/*.}" elif [ z"$QTY" = z"0" -a -z "$QUIET" ] then - printf "No ssh-agent found.\n" 1>&2 + printf "No ssh-agent found.\n" 1>&2 elif [ -z "$QUIET" ] then - select AUTH_SOCK in /tmp/ssh-*/* - do + select AUTH_SOCK in /tmp/ssh-*/* + do export SSH_AUTH_SOCK="$AUTH_SOCK" export SSH_AGENT_PID="${SSH_AUTH_SOCK##/*/*.}" return - done + done fi } @@ -151,9 +151,9 @@ jsonpp() input="$([ $# -gt 0 ] && printf "%s\n" "$*" || cat -)" if ! [ z"$(which pygmentize)" = z"" ] then - printf "%s" "$input" | python -mjson.tool | pygmentize -l js || printf "%s\n" "$input" + printf "%s" "$input" | python -mjson.tool | pygmentize -l js || printf "%s\n" "$input" else - printf "%s" "$input" | python -minput.tool || printf "%s\n" "$input" + printf "%s" "$input" | python -minput.tool || printf "%s\n" "$input" fi }