zsh-config/README.md

991 B

zsh-config

This is my personal zsh configuraton.

Requirements

  • starship - a pretty and fast prompt
  • trash-cli* - safer rm
  • direnv* - runs on cd, safely set enviroment
  • exa* - better ls
  • bat* - better cat, less, man, etc.

(* = optional)

Installation

  1. Clone this repo and init the submodules
git clone 'https://git.zander.im/Zander671/zsh-config.git'
git submodule init && git submodule update
  1. Create a .zshrc and fill it with something like this:
ZSH_CONFIG_DIR="path/to/this/repo" # This variable *MUST* be set
source "${ZSH_CONFIG_DIR}/init.zsh}"
  1. Optionally, set some other variables (before the source line):
  • ZSH_BOOKMARK_DIR: Bookmark directory (default: ~/.cache/zsh/bookmarks)
  • ZSH_BOOKMARK_LS: If true, run ls after jumping to a bookmark