Commit fecb4341 authored by nimrod's avatar nimrod
Browse files

- Corrected Bash completion behaviour.

- Added Pipenv Bash completion.
parent 62fffcf9
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -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

.gitignore

0 → 100644
+2 −0
Original line number Diff line number Diff line
.bash_completion.d/.pipenv
.pre-commit/
+1 −1
Original line number Diff line number Diff line
@@ -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