bash: install cargo and use that for exa etc.

This commit is contained in:
2020-09-07 09:37:52 +01:00
parent 049065ea25
commit 589f1baa72
5 changed files with 11 additions and 38 deletions

11
install
View File

@@ -22,12 +22,13 @@ for rc in *rc *profile tmux.conf bashrc.d mutt ; do
fi
done
for s in install_*.bash ; do
source $s
done
if [ "$(which cargo)" == "" ] ; then
# Install Cargo, in order to install exa etc.
(curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh) || exit 1
source $HOME/.cargo/env
fi
install_delta
install_bat
cargo install delta bat exa sd
# git-prompt
# if [ ! -e ~/.git-prompt.sh ]; then