Commit 2d447acd authored by nimrod's avatar nimrod
Browse files

- Removed Powerline usage (Bash, Vim and tmux), was more convoluted and

less portable than customizing the prompt myself.
- Symlink the TravisCI Bash completion to the one generated by the
travis gem inside .bash_completion.d, remove specific source in .bashrc.
- Moved AWS CLI completion to file inside .bash_completion.d.
- Removed some unused blocks in .bashrc.
parent 4dd226c4
Loading
Loading
Loading
Loading

.bash_completion.d/aws

0 → 100644
+1 −0
Original line number Diff line number Diff line
! which aws_completer >/dev/null || complete -C 'aws_completer' aws
+8 −0
Original line number Diff line number Diff line
#!/bin/sh

if which pipenv > /dev/null
then
    [ -f "$HOME/.bash_completion.d/.pipenv" ] || pipenv --completion > "$HOME/.bash_completion.d/.pipenv"
    # shellcheck disable=SC1090
    . "$HOME/.bash_completion.d/.pipenv"
fi
+1 −0
Original line number Diff line number Diff line
../.travis/travis.sh
 No newline at end of file
+0 −24
Original line number Diff line number Diff line
@@ -19,24 +19,11 @@ then
    do
        [ ! -f "$sourcefile" ] || . "$sourcefile"
    done

    # shellcheck disable=SC1090
    # added by travis gem
    [ -f "$HOME/.travis/travis.sh" ] && . "$HOME/.travis/travis.sh"

    # shellcheck disable=SC2015
    which aws_completer >/dev/null && complete -C 'aws_completer' aws ||
        true
fi

# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
    debian_chroot=$(cat /etc/debian_chroot)
fi

# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
    eval "$(dircolors -b)"
@@ -45,17 +32,6 @@ if [ -x /usr/bin/dircolors ]; then
    alias diff='diff --color=auto'
fi

# shellcheck disable=SC2142
[ -f /usr/local/bin/virtualenvwrapper.sh ] && . /usr/local/bin/virtualenvwrapper.sh

if which powerline-daemon > /dev/null && [ -f /usr/share/powerline/bindings/bash/powerline.sh ]
then
    export POWERLINE_BASH_CONTINUATION=1
    export POWERLINE_BASH_SELECT=1
    pgrep -f powerline-daemon > /dev/null || powerline-daemon -q
    . /usr/share/powerline/bindings/bash/powerline.sh
fi

export REPREPRO_BASE_DIR="$HOME/Documents/Shore/debian-repository"
export EDITOR=vim
export GOPATH="$HOME/Documents/Golang"

.config/powerline/config.json

deleted100644 → 0
+0 −13
Original line number Diff line number Diff line
{
    "ext": {
        "shell": {
            "theme": "personal"
        },
        "vim": {
            "theme": "default"
        },
        "tmux": {
            "theme": "personal"
        }
    }
}
Loading