aboutsummaryrefslogtreecommitdiffstats
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rwxr-xr-xbash/.bashrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index 3e9a0e2..e8a61fc 100755
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -67,7 +67,8 @@ if exists sudo; then
67 if is_function $1 2> /dev/null; then 67 if is_function $1 2> /dev/null; then
68 tmpfile="/tmp/$(date +%s).sh" 68 tmpfile="/tmp/$(date +%s).sh"
69 69
70 echo "#!$usr/bin/env bash" > "$tmpfile" 70 echo "#!$usr/bin/bash" > "$tmpfile"
71 echo "usr=$usr" >> "$tmpfile"
71 type $1 | grep -v "is a function" >> "$tmpfile" 72 type $1 | grep -v "is a function" >> "$tmpfile"
72 echo "$@" >> "$tmpfile" 73 echo "$@" >> "$tmpfile"
73 74