]> git.nbdom.net Git - nb.git/commitdiff
etc/profile.d/mac.sh
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Mon, 6 Feb 2017 21:36:08 +0000 (21:36 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Mon, 6 Feb 2017 21:36:08 +0000 (21:36 +0000)
etc/profile.d/mac.sh

index c72268fea1e4dc1477fef3fb58b41b647776d8b9..37754fe57aa578329945f460f382daf3ab894dbc 100644 (file)
@@ -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