softwareupdate --install-rosetta
uname -m
Do not check the "Turn on rosetta2" checkbox of "iTerm2" in Finder application.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/padawan_e15/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
"Terminal.app" , turn on rosetta2 chechbox on finder.app
https://github.com/jorgebucaran/awsm.fish
brew install fish
echo "/usr/local/bin/fish" >> /etc/shells
chsh -s /usr/local/bin/fish
curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
fisher install jethrokuan/z
fisher install PatrickF1/fzf.fish
export FZF_DEFAULT_OPTS='--height 80% --border'
fisher install decors/fish-ghq
fisher install jorgebucaran/replay.fish
fisher install IlanCosman/tide@v5
fisher install franciscolourenco/done
~/.config/fish/functions/fish_prompt.fish
echo -n "("(uname -m|sed "s/\r//")")"
"in function 'fish_prompt' in command substitution disown: THERE ARE NO SUITABLE JOBS"
fish_add_path /opt/homebrew/bin/
brew install --cask iterm2
Delete a word and a line in iTerm2
brew install --cask visual-studio-code
brew install --cask google-japanese-ime
Docker Desktop for Apple silicon
to use desktop app in docker container
brew install --cask xquartz
brew install --cask karabiner-elements
brew install --cask alfred
brew install --cask deepl
brew install --cask grammarly
brew install --cask shiftit
brew install --cask clipy
brew install --cask appcleaner
brew install --cask cheatsheet
brew install --cask keyboardcleantool
brew install --cask dropbox
brew install --cask vivaldi
git config --global user.name "First-name Family-name"
git config --global user.email "[email protected]"
git --versions
brew install tig
brew install ghq
brew install gh
gh auth login
gh config set editor vim
create remote repository with local CLI
git init
gh repo create --private[or --public]
global
touch ~/.config/git/ignore
touch ~/.config/git/[some].gitignore
git config --global --add core.excludesfile ~/.config/git/[some].gitignore
brew install z
brew install tree
brew install fzf fd bat ripgrep
brew install tmux
https://todoist.com/ja/downloads/mac
defaults write com.apple.finder _FXShowPosixPathInTitle -boolean true
defaults write com.apple.finder AppleShowAllFiles -bool true
killall Finder
sudo nvram SystemAudioVolume=%00
brew install is not working.
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
For Fish shell: Execute this interactively:
set -Ux PYENV_ROOT $HOME/.pyenv
set -U fish_user_paths $PYENV_ROOT/bin $fish_user_paths
And add this to ~/.config/fish/config.fish:
status is-interactive; and pyenv init --path | source
pyenv install [version]
pyenv global [version]
python -m venv "venv_py[version]"
alias venv-up "fish -C 'source venv_py*/bin/activate.fish'"
https://blog.rust-lang.org/2020/11/27/Rustup-1.23.0.html
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
set -U fish_user_paths $fish_user_paths $HOME/.cargo/bin
Option + backspace -> delete word
- Open iTem2 Preferences.
- Open Keys tab and click "+" button.
- Click "Click to Set" and write "option + delete".
- Select action "Send Hex Code" and send "0x1b 0x08".