removed syntaxhighlighting again
This commit is contained in:
parent
cf29ed02b9
commit
47ea5f4d22
1 changed files with 0 additions and 9 deletions
9
.bashrc
9
.bashrc
|
@ -166,17 +166,8 @@ _sensible.bash_() {
|
|||
# export documents="$HOME/Documents"
|
||||
# export dropbox="$HOME/Dropbox"
|
||||
}
|
||||
syntax_highlighting() {
|
||||
export LESS='-R'
|
||||
export BASH_PREEXEC_HOOKS=()
|
||||
_syntax_highlighting() {
|
||||
source-highlight -i $1 -o $1.html
|
||||
less -R $1.html
|
||||
}
|
||||
|
||||
}
|
||||
_init() {
|
||||
syntax_highlighting
|
||||
# make less more friendly for non-text input files, see lesspipe(1)
|
||||
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue