Skip to content

A comprehensive package designed to seamlessly initialize and configure your new Mac. With a simple command, equip your macOS with essential tools and settings to enhance productivity and streamline your setup process.

Notifications You must be signed in to change notification settings

Mont4/besmellah_mac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Bemellah Mac

A comprehensive package designed to seamlessly initialize and configure your new Mac. With a simple command, equip your macOS with essential tools and settings to enhance productivity and streamline your setup process.

  • Remove unusable application from Dock bar
  • Preferences -> Dock & menu Bar -> enable "Magnification" and reduce zoom of "Magnification" - enable "Authmaticlly hide and show the Dock"
  • Preferences -> Track Pad -> enable "Tab to click"
  • Right click desktop -> enable "Use Stacks"
  • Finder Preferences
    • General -> select "mont" inside of "New finder windows show:"
    • Sidebar -> enable "mont" inside of "Shows these items in sidebar"
  • Finder top bar
    • View -> Show path bar
  • Finder cmd+j -> Sort by name -> At the end of window -> Use set as Defaults

Developer directory

Main directories

mkdir ~/Developer ~/Developer/Projects ~/Developer/Tools ~/Developer/IDEs

IDEs directories

mkdir ~/Developer/IDEs/PHPStorm ~/Developer/IDEs/WebSorm ~/Developer/IDEs/Goland ~/Developer/IDEs/DataGrip ~/Developer/IDEs/CLion ~/Developer/IDEs/PyCharm ~/Developer/IDEs/DataSpell

Using Touch id in Terminal

sudo nano /etc/pam.d/sudo

then insert next line in line number

auth       sufficient     pam_tid.so

ZSH

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Add some plugins

nano ~/.zshrc

then replace plugins=(git) by plugins=(git docker docker-compose kubectl oc helm yarn zsh-autosuggestions)

Aliases

add to end of ~/.zshrc

if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi

if [ -f ~/.bash_profile ]; then
. ~/.bash_profile  
fi

Run this in your terminal

cp ./TerminalFiles/bash_profile.txt ~/.bash_profile
cp ./TerminalFiles/bash_aliases.txt ~/.bash_aliases

Brew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install php go node yarn cocoapods htop nginx k6 helm nats-server mysql redis jq youtube-dl openfortivpn openconnect
brew services restart nginx
brew services restart nats-server
brew services restart redis
brew services restart mysql

SSH Key

ssh-keygen -t ed25519 -C "<ssh-keygen-name>"
cat ~/.ssh/id_ed25519.pub

PHP & Laravel

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '55ce33d7678c5a611085589f1f3ddf8b3c52d662cd01d4ba75c0ee0459970c2200a51f492d557530c71c15d8dba01eae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
mv composer.phar /usr/local/bin/composer
composer global require laravel/installer
composer global require laravel/valet
valet install

Install Applications

Jetbrains

cp -R ./Jetbrains/ja-netfilter ~/Developer/Tools/
sh ~/Developer/Tools/ja-netfilter/scripts/install.sh

COPY Activation code from https://dl2.soft98.ir/programing/2021-2022_Code.html

  • Import Jetbrains IDE settings from ./Jetbrains

About

A comprehensive package designed to seamlessly initialize and configure your new Mac. With a simple command, equip your macOS with essential tools and settings to enhance productivity and streamline your setup process.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •