- Karabiner keys remapper
- ITerm2 terminal
- brew package manager
- zsh shell
- oh-my-zsh zsh package manager
- fzf convinient recent files search
- zsh-direnv direnv for zsh (install direnv from brew manually)
- lf light console file manager
Create config folder
mkdir -p ~/.confing/karabiner
Download karabiner.json
into folder
curl -o ~/.config/karabiner/karabiner.json https://raw.githubusercontent.com/sabahtalateh/init-system/main/karabiner.json
Create config folder
mkdir ~/ITerm2.Config
Download com.googlecode.iterm2.plist
into folder
curl -o ~/ITerm2.Config/com.googlecode.iterm2.plist https://raw.githubusercontent.com/sabahtalateh/init-system/main/com.googlecode.iterm2.plist
Set folder as config folder (Preferences -> General -> Preferences)
At ~/.zshrc
file add following line
# zsh config
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="robbyrussell"
plugins=(git zsh-autosuggestions zsh-syntax-highlighting zsh-direnv)
source $ZSH/oh-my-zsh.sh
# prompt
export PS1="%{�[36m%}%c%{�[00m%} $(git_prompt_info)"
# fzf
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh # fzf will popup by <ctrl+r>
# integrations when zsh is runnning as VS Code terminal
[[ "$TERM_PROGRAM" == "vscode" ]] && . "$(code --locate-shell-integration-path zsh)"
# vscode config
alias codeconf='code -n ~/Library/Application\ Support/Code/User/'
# lf
alias lf=lfcd
lfcd() {
cd "$(command lf -print-last-dir "$@")"
}
Create config dir
mkdir -p ~/.config/lf
At ~/.config/lf/lfrc
put
set hidden false
map <enter> open
map <backspace2> updir
Run
sudo xcode-select -s /Applications/Xcode.app
xcrun simctl --set previews delete all