diff options
| -rwxr-xr-x | scripts/setup.sh (renamed from setup.sh) | 10 | ||||
| -rwxr-xr-x | scripts/vim_plugins.sh (renamed from vim_plugins.sh) | 0 |
2 files changed, 5 insertions, 5 deletions
diff --git a/setup.sh b/scripts/setup.sh index 29038a7..a7f9972 100755 --- a/setup.sh +++ b/scripts/setup.sh @@ -25,8 +25,8 @@ config_links_in_path() { fi # This is a common directory to clone config-links for me. - if [ -d "$script_dir/../config-links" ]; then - export PATH="$script_dir/../config-links:$PATH" + if [ -d "$script_dir/../../config-links" ]; then + export PATH="$script_dir/../../config-links/bin:$PATH" return 0 fi @@ -35,12 +35,12 @@ config_links_in_path() { trap cleanup_repo EXIT repo_dir="$( mktemp -d )" - git clone -q -- "$repo_url" "$repo_dir" - export PATH="$repo_dir:$PATH" + git clone -- "$repo_url" "$repo_dir" + export PATH="$repo_dir/bin:$PATH" } links_update() { - cd -- "$script_dir" + cd -- "$script_dir/.." links-update # Some utilities (for example, ssh) fix too relaxed file permissions diff --git a/vim_plugins.sh b/scripts/vim_plugins.sh index 3801b74..3801b74 100755 --- a/vim_plugins.sh +++ b/scripts/vim_plugins.sh |
