Skip to content

Instantly share code, notes, and snippets.

@NahianAhmed
Created October 17, 2023 15:26
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save NahianAhmed/8578cc61561ced7c671ac9ea885e9aed to your computer and use it in GitHub Desktop.
Save NahianAhmed/8578cc61561ced7c671ac9ea885e9aed to your computer and use it in GitHub Desktop.
Setup auto suggestions in terminal with oh my zsh

Oh my zsh.

Oh My Zsh

Install CURL.

sudo apt install curl

Install Oh my ZSH.

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

Install plugins.

  • autosuggesions plugin

    git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions

Enable plugins by adding them to .zshrc.

  • Open .zshrc

    nano ~/.zshrc

  • Find the line which says plugins=(git).

  • Replace that line with plugins=(git zsh-autosuggestions)

References

@NahianAhmed
Copy link
Author

For Linux installing curl may be needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment