Skip to content

Instantly share code, notes, and snippets.

@bronze
Forked from onlurking/terminal-setup.md
Created February 19, 2024 18:01
Show Gist options
  • Save bronze/6371a292ce95537938d737d5f27e6d72 to your computer and use it in GitHub Desktop.
Save bronze/6371a292ce95537938d737d5f27e6d72 to your computer and use it in GitHub Desktop.
Configs for zsh, oh-my-zsh, zsh-autosuggestions, zsh-syntax-highlighting and FZF

Setup

Terminal

Instal oh-my-zsh with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Install fast syntax highlighting

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting

Install zsh autosuggestions

git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions

Install the theme

git clone https://github.com/onlurking/lambda-custom-zsh-theme.git ~/.oh-my-zsh/custom/themes/lambda-custom-zsh-theme

ln -s "$ZSH_CUSTOM/themes/lambda-custom-zsh-theme/lambda-mod.zsh-theme" "$ZSH_CUSTOM/themes/lambda-mod.zsh-theme"

Instal FZF

git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf

~/.fzf/install

Edit the ~/.zshrc

export ZSH="$HOME/.oh-my-zsh"

ZSH_THEME="lambda-mod"

plugins=(git fzf zsh-autosuggestions zsh-syntax-highlighting)

source $ZSH/oh-my-zsh.sh
source $HOME/.profile

[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment