defaults write com.apple.dock autohide-delay -float 0
cmd+c -> cmd+alt+v
cmd+tab
select the app and press Q to quite
cmd + tilt sign
control + arrow key
sudo diskutil mount -mountPoint /private/var/vm diskutil ap list | grep VM | awk -F ' ' '/d/ {print $5}'
sudo sh -c 'echo /usr/local/mysql/bin > /etc/paths.d/mysql'
then close terminal and open a new terminal and type
`mysql -u root -p
alias textedit='open -a TextEdit'
open -a TextEdit filename
brew install opencv
pip3 install opencv-python-headless
brew install fish
curl -L https://get.oh-my.fish | fish
brew tap homebrew/cask-fonts
brew cask install font-firacode-nerd-font
set -U theme_nerd_fonts yes
vim /etc/shells
Add -> /usr/local/bin/fish
:!q - to save
chsh -s /usr/local/bin/fish
put startup cmd as fish
chsh -s /bin/fish #change the default shell to fish
search shell command in cmd+shift+p. Hit enter and restart the terminal
"editor.fontFamily": "FiraCode Nerd Font Mono" || FiraCode Nerd Font Mono, 'Clincher Code'
OR
"editor.fontFamily": "JetBrains Mono". OR try "Cascadia Code" OR "Operator Mono"
System Preferences > Keyboard > Shortcuts > Services
Enable New Terminal at Folder. There's also New Terminal Tab at Folder,
brew cask install android-platform-tools (For ADB cmd)
## git status & better path
npm install -g spaceship-prompt
Clone this repository somewhere on your machine. This guide will assume ~/.zsh/zsh-autosuggestions.
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
Add the following to your .zshrc:
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
Start a new terminal session.
brew install bat - cat clone with wings
SPACESHIP_PROMPT_ADD_NEWLINE="true"
SPACESHIP_CHAR_SYMBOL=" \uf0e7"
SPACESHIP_CHAR_SUFFIX=(" ")
SPACESHIP_CHAR_COLOR_SUCCESS="yellow"
SPACESHIP_PROMPT_DEFAULT_PREFIX="$USER"
SPACESHIP_PROMPT_FIRST_PREFIX_SHOW="true"
SPACESHIP_USER_SHOW="true"