This website works better with JavaScript.
Home
Explore
Help
Sign In
10sr
/
dotfiles-mirror
mirror of
https://github.com/10sr/dotfiles.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
use src-hilite if available for less
pull/1/head
10sr
12 years ago
parent
886d412207
commit
8aa5491c36
1 changed files
with
6 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
bashrc
+ 6
- 0
bashrc
View File
@@ -46,6 +46,12 @@ else
fi
fi
export LESS="-iRMX"
export LESS="-iRMX"
_src_hilite_lp_path="`which src-hilite-lesspipe.sh 2>/dev/null`"
if test -n "$_src_hilite_lp_path"
then
export LESSOPEN="| $_src_hilite_lp_path %s"
fi
if null type vim
if null type vim
then
then
export EDITOR=vim
export EDITOR=vim
Write
Preview
Loading…
Cancel
Save