Fix linting errors
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
fec74b795e
commit
8b3a294360
5 changed files with 25 additions and 30 deletions
|
@ -6,34 +6,34 @@ shopt -s checkwinsize
|
|||
shopt -s globstar
|
||||
|
||||
# set a fancy prompt (non-color, unless we know we "want" color)
|
||||
case "$TERM" in
|
||||
xterm|xterm-color|*-256color) color_prompt=yes;;
|
||||
esac
|
||||
#case "$TERM" in
|
||||
# xterm|xterm-color|*-256color) color_prompt=yes;;
|
||||
#esac
|
||||
|
||||
unset color_prompt force_color_prompt
|
||||
#unset color_prompt force_color_prompt
|
||||
|
||||
# Enable color support of ls
|
||||
if [ -f $HOME/.dircolors ]; then
|
||||
dircolors -b $HOME/.dircolors > /dev/null 2>&1
|
||||
if [ -f "${HOME}/.dircolors" ]; then
|
||||
dircolors -b "${HOME}/.dircolors" > /dev/null 2>&1
|
||||
fi
|
||||
|
||||
# Sourcing alias definitions
|
||||
if [ -f $HOME/.aliases ]; then
|
||||
. $HOME/.aliases
|
||||
if [ -f "${HOME}/.aliases" ]; then
|
||||
. "${HOME}/.aliases"
|
||||
fi
|
||||
|
||||
# Source git-prompt script
|
||||
if [ -f /usr/share/git/completion/git-prompt.sh ]; then
|
||||
. /usr/share/git/completion/git-prompt.sh
|
||||
if [ -f "/usr/share/git/completion/git-prompt.sh" ]; then
|
||||
. "/usr/share/git/completion/git-prompt.sh"
|
||||
fi
|
||||
|
||||
# Enable autocompletion features
|
||||
if [ -f /etc/bash_completion ]; then
|
||||
if [ -f "/etc/bash_completion" ]; then
|
||||
/etc/bash_completion
|
||||
fi
|
||||
complete -cf sudo
|
||||
|
||||
# Sourcing alias definitions
|
||||
if [ -f $HOME/.env ]; then
|
||||
. $HOME/.env
|
||||
if [ -f "${HOME}/.env" ]; then
|
||||
. "${HOME}/.env"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue