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:
@ -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
|
||||
|
Reference in New Issue
Block a user