Clean up .profile

Dropped checking /etc/release in favor of checking for pacman. Should be more cross-platform that way, too.
This commit is contained in:
Salt 2017-08-09 18:26:56 -05:00
parent a8c933161a
commit 8ec4409cf3

View File

@ -39,8 +39,7 @@ __define_aliases() {
# Mostly just helper wrappers and such
__define_functions() {
# Arch-only helper functions
local testcase=`contains "$(ls /etc/*release)" "arch"`
if [ "$testcase" ]; then
if [ "$(which pacman)" ]; then
export PAC_HELPER="pacaur"
local helpers="pacaur yaourt pacman"
for helper in $helpers; do