From 4be2e71e4aef88fdeef4f6ece63b4ef32155cb7f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 4 Oct 2017 01:59:22 +0300 Subject: don't source files twice --- %HOME%/.bash_utils/git.sh | 2 -- %HOME%/.bash_utils/path.sh | 2 -- %HOME%/.bash_utils/python.sh | 2 -- %HOME%/.bash_utils/ruby.sh | 2 -- 4 files changed, 8 deletions(-) (limited to '%HOME%/.bash_utils') diff --git a/%HOME%/.bash_utils/git.sh b/%HOME%/.bash_utils/git.sh index a9d4721..acf7ff8 100644 --- a/%HOME%/.bash_utils/git.sh +++ b/%HOME%/.bash_utils/git.sh @@ -5,8 +5,6 @@ # For details, see https://github.com/egor-tensin/cygwin-home. # Distributed under the MIT License. -source "$HOME/.bash_utils/text.sh" - alias branch_files='git ls-tree -r --name-only HEAD' alias branch_dirs='git ls-tree -r --name-only HEAD -d' diff --git a/%HOME%/.bash_utils/path.sh b/%HOME%/.bash_utils/path.sh index 9f1fdd4..efcc73a 100644 --- a/%HOME%/.bash_utils/path.sh +++ b/%HOME%/.bash_utils/path.sh @@ -5,8 +5,6 @@ # For details, see https://github.com/egor-tensin/cygwin-home. # Distributed under the MIT License. -source "$HOME/.bash_utils/text.sh" - path_add() ( set -o errexit -o nounset -o pipefail diff --git a/%HOME%/.bash_utils/python.sh b/%HOME%/.bash_utils/python.sh index 9193535..910fbdd 100644 --- a/%HOME%/.bash_utils/python.sh +++ b/%HOME%/.bash_utils/python.sh @@ -8,8 +8,6 @@ # This is a half-assed way to automatically add your user's pip binary # directory to $PATH. -source "$HOME/.bash_utils/path.sh" - python_setup_() ( set -o errexit -o nounset -o pipefail diff --git a/%HOME%/.bash_utils/ruby.sh b/%HOME%/.bash_utils/ruby.sh index abcd9b7..e9f5e3e 100644 --- a/%HOME%/.bash_utils/ruby.sh +++ b/%HOME%/.bash_utils/ruby.sh @@ -5,8 +5,6 @@ # For details, see https://github.com/egor-tensin/cygwin-home. # Distributed under the MIT License. -source "$HOME/.bash_utils/path.sh" - ruby_setup() { local user_dir local bin_dir -- cgit v1.2.3