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:
parent
a8c933161a
commit
8ec4409cf3
3
.profile
3
.profile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user