diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-06 18:09:43 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-06 20:33:56 +0200 |
| commit | 75f0f6ade837915a6ffd6c4c2859aab6ce6d720c (patch) | |
| tree | a7a5beed20ce7a08524f21a881107da9340b4ba1 | |
| parent | .bashrc: fix whitespace (diff) | |
| download | linux-home-75f0f6ade837915a6ffd6c4c2859aab6ce6d720c.tar.gz linux-home-75f0f6ade837915a6ffd6c4c2859aab6ce6d720c.zip | |
*.sh -> scripts/
| -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 |
