diff --git a/README.md b/README.md index 3677f5a3..058c9819 100644 --- a/README.md +++ b/README.md @@ -18,14 +18,12 @@ flowchart LR "] win["os_win.bash"] ubu["os_ub.bash"] - mac["os_mac.bash"] bashrc --> |"load"| init init --> |"load"| anyos anyos --> |"load if type program"| program-dependent win --> |"bash alias to each function at"| oswinps1 init --> |"load if $OSTYPE==msys* || -n $WSL_DISTRO_NAME"| win init --> |"load if $OSTYPE==linux*"| ubu - init --> |"load if $OSTYPE==mac*"| mac ``` ## Install @@ -69,13 +67,6 @@ Ubuntu helpers are defined in [os_ubu.bash](os_ubu.bash). See some below. - `gnome_dark_mode`: enable gnome dark mode. - `gnome_nautilus_list_view`: enable nautilus list view. -### os_mac - -Mac helpers are defined in [os_mac.bash](os_mac.bash). See some below. - -- `mac_update`: update os and brew. -- `mac_install_brew`: install brew package manager - ### os_win Win helpers are defined in [os_win.bash](os_win.bash) and [os_win.ps1](os_win.ps1), see some below. diff --git a/init.sh b/init.sh index 7675dbaa..1780ed2a 100644 --- a/init.sh +++ b/init.sh @@ -16,10 +16,6 @@ if [[ $OSTYPE == linux* ]]; then source "$BH_DIR/os_ubu.bash" fi -if [[ $OSTYPE == darwin* ]]; then - source "$BH_DIR/os_mac.bash" -fi - # load .bash files for file in "$BH_DIR/programs/"*.bash; do diff --git a/os_mac.bash b/os_mac.bash deleted file mode 100644 index fdc68c10..00000000 --- a/os_mac.bash +++ /dev/null @@ -1,11 +0,0 @@ -function mac_install_brew() { - /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" -} - -function mac_update() { - log_msg "brew upgrade all" - brew update - sudo brew upgrade - log_msg "mac os upgrade" - sudo softwareupdate -i -a -}