From e26c075f6303b666e4144b5ebcfdc9f9f0f228e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Mengu=C3=A9?= Date: Sat, 28 Jun 2014 01:57:24 +0200 Subject: [PATCH] Fix typos in code comments Thanks to @pkkolos for catching them in https://github.com/pkkolos/liquidprompt/commit/1eb35f46b0918974cebe351ca8441e4659b869a5 --- liquidprompt | 6 +++--- liquidpromptrc-dist | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/liquidprompt b/liquidprompt index 8eeb3a5..b7e7e3a 100755 --- a/liquidprompt +++ b/liquidprompt @@ -499,7 +499,7 @@ _lp_connection() # Put the hostname if not locally connected # color it in cyan within SSH, and a warning red if within telnet -# else diplay the host without color +# else display the host without color # The connection is not expected to change from inside the shell, so we # build this just once LP_HOST="" @@ -582,7 +582,7 @@ _lp_shorten_path() if [[ ${LP_PATH_KEEP} == -1 ]]; then # only show the current directory, excluding any parent dirs - ret="${p##*/}" # discard everything upto and including the last slash + ret="${p##*/}" # discard everything up to and including the last slash [[ "${ret}" == "" ]] && ret="/" # if in root directory elif (( ${#p} <= ${max_len} )); then ret="${p}" @@ -1564,7 +1564,7 @@ _lp_set_prompt() LP_PROXY= fi - # Display the current Python virtual environnement, if available + # Display the current Python virtual environment, if available if [[ "$LP_ENABLE_VIRTUALENV,$VIRTUAL_ENV" = 1,?* ]] ; then LP_VENV=" [${LP_COLOR_VIRTUALENV}${VIRTUAL_ENV##*/}${NO_COL}]" else diff --git a/liquidpromptrc-dist b/liquidpromptrc-dist index 60d50f1..592cb79 100644 --- a/liquidpromptrc-dist +++ b/liquidpromptrc-dist @@ -33,7 +33,7 @@ LP_PATH_LENGTH=35 LP_PATH_KEEP=2 # Do you want to display the hostname, even if not connected through network? -# Defaults to 0 (do not display hostname when localy connected) +# Defaults to 0 (do not display hostname when locally connected) # set to 1 if you want to always see the hostname LP_HOSTNAME_ALWAYS=0