Created at: 2024-11-05
Problems:
/bin
, /usr/bin
, and /usr/local/bin
./usr/local/bin
. If I want to run programs from the
terminal I need to keep modifying PATH.bash
and does not update it any more due to
changes in licensing. I have to install the new one via brew and symlink it
so that I can use it as default (minor, but it took me too long till I found
this out).Go to:
And swap ctrl for cmd.
On the terminal:
defaults write com.apple.dock autohide -bool true && killall Dock
defaults write com.apple.dock autohide-delay -float 1000 && killall Dock
defaults write com.apple.dock no-bouncing -bool TRUE && killall Dock
Go to the website and install it.
brew install \
neovim \
git \
tree \
font-liberation-nerd-font \
fd \
rg \
ripgrep \
firefox \
terminal-notifier \
fzf \
python \
bear \
ctags
brew install --cask nikitabobko/tap/aerospace
brew install --cask betterdisplay
Notes:
~/workspace/scripts/dotfiles.sh install
Note: Change the open_github_file.lua
plugin to include the prefix to
exclude.
MacOs comes with zsh by default, which isn't a great shell. The bash version it comes with is outdated, so we download a new one with brew
brew install bash
chsh -s /opt/homebrew/bin/bash
# Symlink .bashrc to .bash_profile
ln -s ~/.bashrc ~/.bash_profile
# Just reboot and you'll get the new shell
sudo reboot now
Also change from zsh to bash in:
Just follow the website instructions.
Go to Settings - Keyboard and configure:
# Increase key-repeat
defaults write -g KeyRepeat -int 2
defaults write -g InitialKeyRepeat -int 15
# Remove font smoothing
defaults -currentHost write -g AppleFontSmoothing -int 0
# Disable the sound effects on boot
sudo nvram SystemAudioVolume=" "
# Disable automatic termination of inactive apps
defaults write NSGlobalDomain NSDisableAutomaticTermination -bool true
sudo reboot now
Change the shortcuts for:
On better display, follow this guide:
https://github.com/waydabber/BetterDisplay/wiki/Fully-scalable-HiDPI-desktop
I have to set my home monitor to ~70% resolution.
Add this mapper rule:
map q removeTab
Sadly because I have to use cmd
instead of ctrl
, I have to change Firefox's
shortcuts.
System Settings -> Keyboard -> Shortcuts -> App shortcuts
Add an entry for Firefox with these settings:
Reload This Page -> ctrl+r New Tab -> ctrl+t Close Tab -> ctrl+w Reopen Closed tab -> ctrl+shiftT
Optional (I'm not using this currently): Get an app (free and OS) Called CheatSheet, and with that you can see all the shortcuts used by the app, and if you make a rule in the Settings->Keyboard->Shortcuts using the exact text given in CheatSheet it will change it to what you select..