Move init scipts to rc.local
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
if [ -d "$HOME/.bash-git-prompt" ]; then
|
||||
GIT_PROMPT_PATH="$HOME/.bash-git-prompt"
|
||||
else
|
||||
GIT_PROMPT_PATH="$LWS/opt/bash-git-prompt"
|
||||
fi
|
||||
|
||||
GIT_PROMPT_INIT="$GIT_PROMPT_PATH/gitprompt.sh"
|
||||
|
||||
if [ -f "$GIT_PROMPT_INIT" ]; then
|
||||
export GIT_PROMPT_PATH
|
||||
GIT_PROMPT_ONLY_IN_REPO=1
|
||||
source "$GIT_PROMPT_INIT"
|
||||
fi
|
||||
@@ -1,19 +0,0 @@
|
||||
# Use user defined Go version
|
||||
# GOPATH and GOROOT must be already set in $HOME/.bashrc
|
||||
|
||||
_GO_BIN_DIR="$HOME/go/bin"
|
||||
|
||||
if [[ -d "$_GO_BIN_DIR"]]; then
|
||||
prepend_path_try "$_GO_BIN_DIR"
|
||||
if can_run go; then
|
||||
export GOROOT=$(go env GOROOT)
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ! -z "$GOPATH" ]]; then
|
||||
prepend_path "$GOPATH/bin"
|
||||
fi
|
||||
|
||||
if [[ ! -z "$GOROOT" ]]; then
|
||||
prepend_path "$GOROOT/bin"
|
||||
fi
|
||||
@@ -1,3 +0,0 @@
|
||||
if is_slow_init && can_run thefuck; then
|
||||
eval "$(thefuck --alias)"
|
||||
fi
|
||||
Reference in New Issue
Block a user