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:
10
bash_it.sh
10
bash_it.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user