bash: install cargo and use that for exa etc.
This commit is contained in:
11
install
11
install
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user