COLORS
This commit is contained in:
parent
16f9814d64
commit
8e43663661
6 changed files with 77 additions and 74 deletions
8
bashrc
8
bashrc
|
@ -127,11 +127,15 @@ export PATH="$HOME/.bin/:$HOME/.scripts/:$PATH"
|
|||
|
||||
# UTILITIES
|
||||
|
||||
# Theme
|
||||
[ -f ~/.bin/colorSchemeApply ] && source ~/.bin/colorSchemeApply
|
||||
[ -f ~/.bin/colorSchemeApplyFzf ] && source ~/.bin/colorSchemeApplyFzf
|
||||
|
||||
# Bash completion
|
||||
[ -f /etc/bash_completion ] && . /etc/bash_completion
|
||||
[ -f /etc/bash_completion ] && source /etc/bash_completion
|
||||
|
||||
# Fuzzy matching all the way
|
||||
export FZF_DEFAULT_OPTS="--height 100% --layout=default"
|
||||
export FZF_DEFAULT_OPTS="${FZF_DEFAULT_OPTS} --height 100% --layout=default"
|
||||
export FZF_CTRL_T_OPTS="--preview '[[ -d {} ]] && ls -l --color=always {} || [[ \$(file --mime {}) =~ binary ]] && echo {} is a binary file || (highlight -O ansi -l {} || coderay {} || rougify {} || cat {}) 2> /dev/null | head -500'"
|
||||
export FZF_COMPLETION_OPTS="${FZF_CTRL_T_OPTS}"
|
||||
[ -f /usr/share/fzf/completion.bash ] && source /usr/share/fzf/completion.bash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue