Help : Fix bashrc location.
This commit is contained in:
parent
e582f8d317
commit
d32c1cc634
|
@ -10,7 +10,7 @@
|
|||
return 2
|
||||
fi
|
||||
|
||||
cat /etc/bashrc | sed -n -e "/^function ''${fun}()/q;p" | tac | sed -n -e "/^[^#]/q;p" | tac | sed -e "s/^# \+//" -e "\$i \ " | sed "1{/^$/d}" | sed "1{/^ *$/d}"
|
||||
cat ~/.bashrc | sed -n -e "/^function ''${fun}()/q;p" | tac | sed -n -e "/^[^#]/q;p" | tac | sed -e "s/^# \+//" -e "\$i \ " | sed "1{/^$/d}" | sed "1{/^ *$/d}"
|
||||
}
|
||||
|
||||
# Short for help.
|
||||
|
|
Loading…
Reference in a new issue