From 7e9f14a3388236f3759539bb54584f4664d6d90f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 18 May 2015 17:44:35 +1200 Subject: Use $_ for source parts topic var --- bash/bashrc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bash/bashrc') diff --git a/bash/bashrc b/bash/bashrc index 77c2abd8..f472beae 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -73,9 +73,8 @@ fi # Load any supplementary scripts if [[ -d $HOME/.bashrc.d ]] ; then - for config in "$HOME"/.bashrc.d/*.bash ; do - source "$config" + for _ in "$HOME"/.bashrc.d/*.bash ; do + source "$_" done - unset -v config fi -- cgit v1.2.3