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
|
# Mostly just helper wrappers and such
|
||||||
__define_functions() {
|
__define_functions() {
|
||||||
# Arch-only helper functions
|
# Arch-only helper functions
|
||||||
local testcase=`contains "$(ls /etc/*release)" "arch"`
|
if [ "$(which pacman)" ]; then
|
||||||
if [ "$testcase" ]; then
|
|
||||||
export PAC_HELPER="pacaur"
|
export PAC_HELPER="pacaur"
|
||||||
local helpers="pacaur yaourt pacman"
|
local helpers="pacaur yaourt pacman"
|
||||||
for helper in $helpers; do
|
for helper in $helpers; do
|
||||||
|
Loading…
Reference in New Issue
Block a user