Skip to content

Commit

Permalink
Removed var
Browse files Browse the repository at this point in the history
  • Loading branch information
ulises-jeremias committed Aug 7, 2022
1 parent a78d62d commit 9e16f13
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/_install
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ printf "Installing binaries... "

for bin_path in "${dotfiles_dir}"/bin/*; do
bin=$(basename "${bin_path}")
bin_real_path=$(realpath "${bin_path}")

chmod +x "${bin_path}"
rm -rf ~/.local/bin/"${bin}" >/dev/null 2>&1
ln -sf "${bin_real_path}" ~/.local/bin/"${bin}"
ln -sf "$(realpath "${bin_path}")" ~/.local/bin/"${bin}"
done

echo "Done."
Expand Down

0 comments on commit 9e16f13

Please sign in to comment.