Thanks to visit codestin.com
Credit goes to github.com

Skip to content

one-m1nd/prezto

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prezto — Instantly Awesome Zsh

Prezto is the configuration framework for Zsh; it enriches the command line interface environment with sane defaults, aliases, functions, auto completion, and prompt themes.

This is my custom fork.

New system setup

  1. Ubuntu based distro
  2. OSX

Ubuntu based distro

Caution

Only do the following if machine is yours

sudo groupadd gigachad
sudo usermod -aG gigachad $USER

sudo visudo
# Add following before @includedir, uncomment last line
# Allow gigachads to sudo passwdless
# %gigachad ALL=(ALL) NOPASSWD: ALL
sudo apt install zsh vim ranger w3m ncdu redshift neofetch tig htop btop ncal
sudo apt install openjdk-18-jre xclip konsole

# GNOME only
sudo apt install gnome-shell-extension-manager gir1.2-gtop-2.0 lm-sensors

Update git

sudo add-apt-repository ppa:git-core/ppa -y
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com A1715D88E1DF1F24 40976EAF437D05B5 3B4FE6ACC0B21F32 A6616109451BBBF2
sudo apt-get update
sudo apt-get install git -y
git --version

Refind

Note

Only needed if going run multiple operating systems on the same machine

Docs

sudo apt-add-repository ppa:rodsmith/refind
sudo apt-get update
sudo apt-get install refind

NVIDIA drivers

Caution

Only if distro doesn't have them baked in OR GPU is too old

https://unix.stackexchange.com/questions/352828/how-to-switch-nvidia-driver-from-nouveau-to-nvidia-proprietary


OSX

Install

  1. brew
brew update
brew install ranger tig ncdu bash neofetch openssl@3 shellcheck htop w3m
brew install openssh libffi cmake yq ykman libu2f-udev pyenv vim btop

# better 'alt' tab for OSX
brew install --cask alt-tab

Installation

Prezto will work with any recent release of Zsh, but the minimum required version is 4.3.11.

zsh

git clone --recursive [email protected]:one-m1nd/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"

setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
  ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
done


chsh -s /bin/zsh

In a new terminal window/tab

cd $ZPREZTODIR
git clone --recurse-submodules https://github.com/belak/prezto-contrib contrib

Additional Installation

Common

  1. rvm
    • curl -sSL https://get.rvm.io | bash -s master
    • gem update --system
  2. nvm
  3. pyenv
  4. vundle
  5. FiraCode Patched Font

OSX

  1. iterm2

Linux

Binaries/executables ... place in ~/bin

mkdir "$HOME/bin"

  1. rubymine
    • Fallback version 2023.2.8
  2. obsidian

Resources

Original docs

The Zsh Reference Card and the zsh-lovers man page are indispensable.

License

This project is licensed under the MIT License.

About

The configuration framework for Zsh

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%