The failed Mac was initialized and returned, so I built a python environment. At the same time, we changed the default settings on the Mac. I will keep a memorandum of the various settings and installation procedures that were performed at that time.
First, change the trackpad settings because the pointer is slow and stressful. Since I want to enable "drag with 3 fingers", I set swipe etc. to operate with basic 4 fingers.
--Trackpad Settings (System Preferences> Trackpad) --Pointer and click --Startup speed: Fast --Examine & Data Detection: Tap with 3 fingers --Tap to click: Tap with one finger --Other gestures --Swipe between pages: uncheck --Mission Control: Swipe left or right with four fingers --Application Expose: Swipe down with four fingers --Three-finger drag settings (System Preferences> Trackpad) --Pointer Control> Trackpad Options --Enable dragging: Three-finger drag
Since the key repeat is slow, shorten it. At the same time, add Japanese to the keyboard input.
--Keyboard settings (system settings> keyboard) --Keyboard --Key repeat: Fast --Time to repeat input recognition: Fast --Input source --Added Japanese
Change the Dock so that it is not always visible. At the same time, the apps registered by default are rarely used, so delete them from the dock except for the finder.
--Dock Settings (System Preferences> Dock) --Automatically show / hide Dock: Check --Make the window an application icon: uncheck
When you delete a file etc., the sound effect is emitted one by one and it is stressful, so do not make the sound effect.
--Sound effect settings (System Preferences> Sound) --Sound effects --Play user interface sound effects: uncheck
In the initial state, it takes a short time to turn off the display (certainly 5 minutes), so extend it. I set it to 30 minutes.
--Display settings (system settings> energy saving) --Time to turn off the display: 20 minutes --Sleep hard disk as much as possible: uncheck
Switching to Japanese input on the US board is a bit annoying by default, so install karabiner early. Please refer to this site.
-How to switch Japanese input with "Karabiner" using US keyboard on Mac
clipy is a very easy-to-use app that allows you to keep a history of your clipboard. Highly recommended for those who are not using it. Install by referring to the following site.
-[MAC] Downloading and using Clipy [Time saving for work]
I like this one, but I love Chrome so I will install it. https://www.google.com/chrome/
iterm2 hotkey is extremely convenient and I want to use it, so install it. Install and make various settings by referring to the following site.
-Recommended settings for iTerm2-Efficient terminal work- -It's a waste not to use iTerm2 Hotkey! !!
Then change the shell to zsh. Since becoming Catalina, it is possible to switch to zsh with a single ?? command.
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
Next, set the prompt. I like it, but I've changed it to look like this:
--Insert a line break after executing the command --Display time --Green current directory
Create a .zshrc and write the following:
.zshrc
# prompt
PROMPT='
%*
%F{green}[%~]%f %# '
Also, I personally want to do ls at the same time as cd, so write the function as follows and paste the alias.
.zshrc
# cdls
function cdls() {
\cd "$@" && ls
}
alias cd=cdls
Install Homebrew.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Install pyenv.
brew install pyenv
Write the following in .zshrc.
.zshrc
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
Install python using pyenv.
pyenv install 3.7.5
Installing python takes time, so install vscode in the meantime. Please refer to the following site.
-Procedure to install Visual Studio Code on MacOS
The python environment is now ready. It took less than an hour, depending on the environment. I also installed AWS SDK and GCP SDK, but for the time being, I did not describe it because it is a summary of the minimum python environment. For the various installation parts, I fully referred to other sites. Thank you very much.
How to switch Japanese input with "Karabiner" using US keyboard on Mac [MAC] Downloading and using Clipy [Time saving for work] Recommended settings for iTerm2-Efficient terminal work- It's a waste not to use iTerm2 Hotkey! !! Procedure to install Visual Studio Code on MacOS
Recommended Posts