Skip to content
Snippets Groups Projects
Commit fecb4341 authored by nimrod's avatar nimrod
Browse files

- Corrected Bash completion behaviour.

- Added Pipenv Bash completion.
parent 62fffcf9
No related branches found
No related tags found
No related merge requests found
......@@ -14,8 +14,11 @@ then
shopt -s cmdhist
[ -f /etc/bash_completion ] && . /etc/bash_completion
# shellcheck disable=SC2086,SC1090
[ -d "$HOME/.bash_completion.d" ] && . $HOME/.bash_completion.d/*
# shellcheck disable=SC1090
for sourcefile in $HOME/.bash_completion.d/*
do
[ ! -f "$sourcefile" ] || . "$sourcefile"
done
# shellcheck disable=SC1090
# added by travis gem
......
.bash_completion.d/.pipenv
.pre-commit/
......@@ -9,6 +9,6 @@
sha: v0.5.4
hooks:
- id: shell-lint
files: &shellscripts 'bashrc|post-merge|profile|docker-|wifi-login|renew-certs|dma-clean|gen-ssh-config|dconf-load|install-git-hooks|pocketchip-battery|update-voltage'
files: &shellscripts 'bashrc|post-merge|profile|docker-|wifi-login|renew-certs|dma-clean|gen-ssh-config|dconf-load|install-git-hooks|pocketchip-battery|update-voltage|pipenv'
- id: shellcheck
files: *shellscripts
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment