Skip to content

Commit

Permalink
Add bliki page about my terminal setup
Browse files Browse the repository at this point in the history
  • Loading branch information
berrueta committed Dec 25, 2023
1 parent ac74c5e commit 0455351
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions _posts/2023-12-26-terminal-setup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
layout: post
title: "Terminal setup"
date: 2023-12-26 15:49:29 +1200
category: software
tags: mac zsh terminal
---

This is not a complete blogpost, just a collection of resources that I use
to setup my Mac terminal. This document may be updated at anytime.

* Homebrew

* iTerm2: `brew install iterm2`. [Additional color schemes can be downloaded](https://iterm2colorschemes.com).

* [mackup](https://github.com/lra/mackup) to keep the dotfiles in sync. Install with `brew install mackup`, and then [configure the location of the dotfiles repository](https://github.com/lra/mackup/blob/master/doc/README.md). Then execute `mackup restore` (assuming it is not the first install).

* [colorls](https://github.com/athityakumar/colorls). Installed as a Ruby gem. Then created an alias in `~/.zshrc` like this:

```zsh
# colorls can be in multiple locations
[[ -f /usr/local/bin/colorls ]] && alias ls="/usr/local/bin/colorls"
[[ -f /usr/local/lib/ruby/gems/3.2.0/bin/colorls ]] && alias ls="/usr/local/lib/ruby/gems/3.2.0/bin/colorls"
```

* [ohmyzsh](https://ohmyz.sh).

* ohmyzsh plugins that can be installed via Hombrew: `brew install zsh-autosuggestions zsh-syntax-highlighting`. Add them to the `.zsh`, like this:

```zsh
[[ -f $HOMEBREW_PREFIX/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]] && source $HOMEBREW_PREFIX/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

[[ -f $HOMEBREW_PREFIX/share/zsh-autosuggestions/zsh-autosuggestions.zsh ]] && source $HOMEBREW_PREFIX/share/zsh-autosuggestions/zsh-autosuggestions.zsh
```

* [powerlevel10k](https://github.com/romkatv/powerlevel10k). Make sure you download the fonts.

0 comments on commit 0455351

Please sign in to comment.