Replaced reload section with proper function.

Added completion for reload.
Fixed order in completion
Added unit tests for completion
The variable BASH_IT_AUTOMATIC_RELOAD_AFTER_CONFIG_CHANGE has to be unset.
This commit is contained in:
Piotr Rogoża
2018-04-17 23:48:33 +02:00
parent b1dbf2f7e0
commit 89d1661d23
8 changed files with 33 additions and 42 deletions

View File

@@ -1,16 +1,6 @@
#!/usr/bin/env bash
# Initialize Bash It
# Reload Library, replaced by lib/additionals.bash
# case $OSTYPE in
# darwin*)
# alias reload='source ~/.bash_profile'
# ;;
# *)
# alias reload='source ~/.bashrc'
# ;;
# esac
# Only set $BASH_IT if it's not already set
if [ -z "$BASH_IT" ];
then