Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Move duplicated constants into sh_common, fix overriden $LESS

  • Loading branch information...
commit 043f82d4fa822ab91c5043ff035aa75d3ac920d7 1 parent 2d367f9
@amarshall authored
Showing with 2 additions and 12 deletions.
  1. +0 −7 bash/config
  2. +2 −0  sh_common/constants
  3. +0 −5 zsh/config
View
7 bash/config
@@ -65,13 +65,6 @@ function shorten_path {
fi
}
-# Colors
-export CLICOLOR=1
-export LSCOLORS=ExFxCxDxBxegedabagacad
-# If output gets paged, repaint the screen. This solves color codes
-# being displayed in the rails console
-export LESS="-R"
-
# Prompt
if [[ -z $SSH_CONNECTION ]]; then
prompt_color=$COLOR_PURPLE
View
2  sh_common/constants
@@ -1,3 +1,5 @@
+export CLICOLOR=1
+export LSCOLORS=ExFxCxDxBxegedabagacad
export EDITOR=vim
export LESS="-R -i"
export PAGER="$(which less) -R -i"
View
5 zsh/config
@@ -8,11 +8,6 @@ HISTSIZE=1000
SAVEHIST=1000
REPORTTIME=10 # Print elapsed time when more than 10 seconds
-export CLICOLOR=1
-export EDITOR=vim
-export LESS="-R"
-export LSCOLORS=ExFxCxDxBxegedabagacad
-
setopt AUTO_CD
setopt AUTO_PUSHD
setopt COMPLETE_IN_WORD
Please sign in to comment.
Something went wrong with that request. Please try again.