From 8a8d44ef960d91690d2c5cdd68205d99ea33ab96 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Mon, 6 Feb 2017 21:36:08 +0000 Subject: [PATCH] etc/profile.d/mac.sh --- etc/profile.d/mac.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/etc/profile.d/mac.sh b/etc/profile.d/mac.sh index c72268fe..37754fe5 100644 --- a/etc/profile.d/mac.sh +++ b/etc/profile.d/mac.sh @@ -33,7 +33,6 @@ seq() { jot "$1" fi } -fi alias mac_iptables_reload="pfctl -d; pfctl -f /etc/pf.conf -e" alias mac_top_proc="echo 'TOP PROCESSES:'; ps -Aro'%cpu, ucomm, user' | grep root | grep -v ' 0.0 '" @@ -241,13 +240,6 @@ mac_port_reinstall() { rm /tmp/myports.txt } -is_darwin() { - case "$OSTYPE" - in darwin*) return 0 ;; - *) return 1 ;; - esac -} - getent() { which getent && (eval "$(which getent) $@"; return) [ "$1" != 'passwd' ] && echo "Support only passwd untill now" && return 1 -- 2.47.3