Skip to content

alvareztech/mac-dan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

My Mac Settings

Computer Name

To update the computer name that appears in the terminal:

System Preferences > Sharing > Computer Name

Terminal Prompt

To update the terminal prompt:

code .zshrc

Terminal ZSH

# PROMPT='%n@%m %. %% '
PROMPT='%F{035}%~%f %F{033}$%f '

powerlevel10k

brew install romkatv/powerlevel10k/powerlevel10k
echo "source $(brew --prefix)/opt/powerlevel10k/powerlevel10k.zsh-theme" >>~/.zshrc

Repository

Uninstall

Oh My Zsh (favorite)

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
code ~/.zshrc

To uninstall

uninstall_oh_my_zsh

Theme

ZSH_THEME="refined"

Extras

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
code ~/.zshrc
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)

Manual settings

  • Font: JetBrains Mono Regular Regular 14
  • Window Size: 140 x 35

Apps

Install Homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

To install all applications from the Brewfile:

brew bundle

VS Code Extensions

Popular commands

code --list-extensions
code --install-extension ms-vscode.cpptools
code --uninstall-extension ms-vscode.csharp
code --install-extension a --force (to update)

See the extension ID on the extension details page under the Marketplace Info.

References

Releases

No releases published

Packages

No packages published