brew install git
brew install neovim
to enable auto installation
- build by Rust
for fast searching
brew install ripgrep
for beatiful git ui
brew install lazygit
for disk usage anlyzer
brew install gdu
process viewer
brew install bottom
Pyenv
brew install pyenv
insert the following code in ~/.zshrc
alias brew='env PATH="${PATH//$(pyenv root)\/shims:/}" brew'
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrc
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zshrc
echo 'eval "$(pyenv init -)"' >> ~/.zshrc
Pyenv-virtualenv
brew install pyenv-virtualenv
# auto activation
echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.zshrc
brew install nodejs
tar -xvzf *.gz
Starship
brew install starship
You must notice the following link.
brew install koekeishiya/formulae/yabai
To configure custom key mappings
brew install koekeishiya/formulae/skhd
Hammerspoon
brew install hammerspoon
Config
-- check current input source by the following code
-- print(hs.keycodes.currentSourceID())
-- local inputEnglish = "com.apple.keylayout.ABC"
local inputEnglish = "com.apple.keylayout.USExtended"
local esc_bind
function convert_to_eng_with_esc()
local inputSource = hs.keycodes.currentSourceID()
if not (inputSource == inputEnglish) then
hs.eventtap.keyStroke({}, 'right')
hs.keycodes.currentSourceID(inputEnglish)
end
esc_bind:disable()
hs.eventtap.keyStroke({}, 'escape')
esc_bind:enable()
end
esc_bind = hs.hotkey.new({}, 'escape', convert_to_eng_with_esc):enable()
brew install eza
- Config
alias ls="eza --icons"
alias ll="eza -l --icons"
git clone https://github.com/jeffreytse/zsh-vi-mode \
$ZSH_CUSTOM/plugins/zsh-vi-mode
brew install zsh-autosuggestions
echo "source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
brew install zsh-syntax-highlighting
echo "source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
- autojump
brew install autojump
brew tap d12frosted/emacs-plus
brew install emacs-plus@29 --with-native-comp
osascript -e 'tell application "Finder" to make alias file to posix file "/opt/homebrew/opt/emacs-plus@29/Emacs.app" at POSIX file "/Applications" with properties {name:"Emacs.app"}'
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs
~/.config/emacs/bin/doom install
to build emacs packages
brew install cmake
Install
brew install tmux
curl -s https://raw.githubusercontent.com/actuallymentor/battery/main/setup.sh | bash