Syntax colorization when opening in less
This commit is contained in:
parent
626f977532
commit
c4ee895e27
2 changed files with 29 additions and 0 deletions
3
.bashrc
3
.bashrc
|
|
@ -105,6 +105,9 @@ alias tail='tail -n $((${LINES:-`tput lines 2>/dev/null||echo -n 12`} - 2))'
|
|||
# + support ANSI colors
|
||||
export LESS="-FX -R"
|
||||
|
||||
# Syntax coloring with pygments in less, when opening source files
|
||||
export LESSOPEN='|~/code/dotfiles/lessfilter.sh %s'
|
||||
|
||||
# nautilus file manager in browser mode without destkop management
|
||||
alias nautile='nautilus --no-desktop --browser'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue