1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-06-14 09:51:41 +00:00

Added or edited file headers.

This commit is contained in:
Sorin Ionescu
2012-01-31 23:37:51 -05:00
parent e1a71a84b1
commit b96bbca51c
71 changed files with 527 additions and 108 deletions

View File

@ -1,14 +1,20 @@
# ------------------------------------------------------------------------------
# Prompt for Zsh:
# * One line.
# * VCS info on the right prompt.
# * Only shows the path on the left prompt by default.
# * Crops the path to a defined length and only shows the path relative to
#
# A simple theme that displays only relevant information.
#
# Authors:
# Julien Nicoulaud <julien.nicoulaud@gmail.com>
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Features:
# - One line.
# - VCS information in the right prompt.
# - Only shows the path on the left prompt by default.
# - Crops the path to a defined length and only shows the path relative to
# the current VCS repository root.
# * Wears a different color wether the last command succeeded/failed.
# * Shows user@hostname if connected through SSH.
# * Shows if logged in as root or not.
# ------------------------------------------------------------------------------
# - Uses a different color depending on if the last command succeeded/failed.
# - Shows user@hostname if connected through SSH.
# - Shows if logged in as root or not.
#
function prompt_nicoulaj_setup() {
setopt LOCAL_OPTIONS