1Password
Homebrew
> sudo /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Solution for access issues
> sudo chown -R $(whoami) /usr/local/var
> chmod u+w /usr/local/var
iTerm
Arrow keys navigation setup
- Go to Preferences, Profile, Keys.
- Set your left ⌥ key to act as an escape character.
- Locate the current shortcut for ⌥ ← or create a new one, with the following settings:
- Keyboard Shortcut: ⌥←
- Action: Send Escape Sequence
- Esc+: b
- repeat for the ⌥→ keyboard shortcut with the following settings:
- Keyboard Shortcut: ⌥→
- Action: Send Escape Sequence
- Esc+: f
https://superuser.com/questions/427163/altarrow-moving-between-words-in-zsh-and-iterm2
Terminal colors
> touch ~/.profile
> echo "export CLICOLOR=1" > .profile
> echo "export LSCOLORS=ExGxBxDxCxEgEdxbxgxcxd" >> .profile
> . ~/.profile
https://geoff.greer.fm/lscolors/
Git
> brew install git
zsh (.zshrc)
eval "$(oh-my-posh --init --shell zsh --config ~/.poshthemes/paradox.omp.json)"
test -e /Users/bojan.bjelic/.iterm2_shell_integration.zsh && source /Users/bojan.bjelic/.iterm2_shell_integration.zsh || true
export CLICOLOR=1
export LSCOLORS=ExGxBxDxCxEgEdxbxgxcxd
export PATH="/usr/local/sbin:$PATH"
# Highlight the current autocomplete option
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
# Better SSH/Rsync/SCP Autocomplete
zstyle ':completion:*:(scp|rsync):*' tag-order ' hosts:-ipaddr:ip\ address hosts:-host:host files'
zstyle ':completion:*:(ssh|scp|rsync):*:hosts-host' ignored-patterns '*(.|:)*' loopback ip6-loopback localhost ip6-localhost broadcasthost
zstyle ':completion:*:(ssh|scp|rsync):*:hosts-ipaddr' ignored-patterns '^(<->.<->.<->.<->|(|::)([[:xdigit:].]##:(#c,2))##(|%*))' '127.0.0.<->' '255.255.255.255' '::1' 'fe80::*'
# Allow for autocomplete to be case insensitive
zstyle ':completion:*' matcher-list '' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' \
'+l:|?=** r:|?=**'
# Initialize the autocompletion
autoload -Uz compinit && compinit -i
Oh my Posh
> brew tap jandedobbeleer/oh-my-posh
> mkdir ~/.poshthemes
> cp /usr/local/opt/oh-my-posh/themes/paradox.omp.json ~/.poshthemes
> eval "$(oh-my-posh --init --shell zsh --config ~/.poshthemes/paradox.omp.json)"
> source ~/.zshrc
https://gist.github.com/cikabo/54c9d631242d29ac3016170f1b8e7fd8
Visual Studio Code
https://code.visualstudio.com/docs/setup/mac
Maccy
https://github.com/p0deje/Maccy
AltTab
https://alt-tab-macos.netlify.app/
https://github.com/lwouis/alt-tab-macos
Rectangle
https://github.com/rxhanson/Rectangle
Other
Enabling Touch ID for sudo https://blog.adriankwiatkowski.eu/enabling-touch-id-sudo-macos-before-after-sonoma
Leave a Reply