From 77399deaf3f089fb526957215b905a4eff9f88ee Mon Sep 17 00:00:00 2001 From: Sun Knudsen Date: Sat, 17 Apr 2021 16:33:01 -0400 Subject: [PATCH] Replaced .bash_profile by .bashrc --- .../README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/how-to-spoof-mac-address-and-hostname-automatically-at-boot-on-macos/README.md b/how-to-spoof-mac-address-and-hostname-automatically-at-boot-on-macos/README.md index 268826b..4a012d3 100644 --- a/how-to-spoof-mac-address-and-hostname-automatically-at-boot-on-macos/README.md +++ b/how-to-spoof-mac-address-and-hostname-automatically-at-boot-on-macos/README.md @@ -30,17 +30,17 @@ sudo mkdir -p /usr/local/sbin sudo chown ${USER}:admin /usr/local/sbin ``` -### Step 2: source `/usr/local/sbin` folder +### Step 2: add `/usr/local/sbin` folder to `PATH` environment variable Find which shell is configured using `echo $SHELL`. #### Bash (/bin/bash) ```shell -cat << "EOF" >> ~/.bash_profile +cat << "EOF" >> ~/.bashrc export PATH=$PATH:/usr/local/sbin EOF -source ~/.bash_profile +source ~/.bashrc ``` #### Z Shell (/bin/zsh)