Skip to content

Instantly share code, notes, and snippets.

@elipapa
Created October 22, 2015 10:07
Show Gist options
  • Save elipapa/b60322cb545b7eb95487 to your computer and use it in GitHub Desktop.
Save elipapa/b60322cb545b7eb95487 to your computer and use it in GitHub Desktop.
Least amount of steps to get a decent command line in OSX/linux environments

The minimal set of steps to get a decent command line on a server

using homebrew, apt-get or whatever you have access to:

  • install git
  • install zsh

Directly from prezto install instructions

# launch zsh
zsh

# clone prezto
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"

# Create a new Zsh configuration by copying the Zsh configuration files provided:
setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
  ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
done

# Set Zsh as your default shell:
chsh -s /bin/zsh

TODO

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