install: tweaking install
This commit is contained in:
37
install
37
install
@@ -30,6 +30,24 @@ fi
|
||||
|
||||
cargo install delta bat exa sd
|
||||
|
||||
GIT=$(which git)
|
||||
if [ "$GIT" != "" ] ; then
|
||||
mkdir -p ~/src/
|
||||
pushd ~/src/
|
||||
if [ ! -d fd ] ; then
|
||||
git clone https://github.com/sharkdp/fd.git
|
||||
cd fd
|
||||
else
|
||||
cd fd
|
||||
git pull
|
||||
fi
|
||||
cargo build --release
|
||||
ln -sfv $PWD/target/release/fd ~/bin
|
||||
popd
|
||||
else
|
||||
echo "You don't have git; can't install fd and a lot of Vim plugins are going to fail too."
|
||||
fi
|
||||
|
||||
# git-prompt
|
||||
# if [ ! -e ~/.git-prompt.sh ]; then
|
||||
# curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh -o ~/.git-prompt.sh
|
||||
@@ -50,29 +68,12 @@ if [ "$(uname -s)" = 'Darwin' ]; then
|
||||
[ -z "$(which brew)" ] &&
|
||||
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
|
||||
# echo "Updating homebrew"
|
||||
# brew cask install xquartz iterm2 caffeine spectacle \
|
||||
# virtualbox virtualbox-extension-pack \
|
||||
# vagrant mat visualvm fluid google-backup-and-sync rstudio r mactex osxfuse
|
||||
|
||||
brew install \
|
||||
fd ag wget git bat tmux bash-completion \
|
||||
vim macvim jq
|
||||
|
||||
# ripgrep ant cmake cmus coreutils cscope exiftool doxygen liboauth \
|
||||
# fish graphviz imagemagick leiningen sbt gnupg \
|
||||
# maven ranger tree zsh jq ruby python go highlight \
|
||||
# reattach-to-user-namespace pinentry-mac gnuplot
|
||||
|
||||
# brew tap universal-ctags/universal-ctags
|
||||
# brew install --HEAD universal-ctags
|
||||
|
||||
# command -v blsd > /dev/null ||
|
||||
# (bash <(curl -fL https://raw.githubusercontent.com/junegunn/blsd/master/install) && mv blsd ~/bin)
|
||||
|
||||
# Create
|
||||
# gem install gem-ctags
|
||||
# gem ctags
|
||||
fi
|
||||
|
||||
git config --global user.email "paul@blacksun.org.uk"
|
||||
@@ -82,8 +83,6 @@ git config --global core.pager "delta --line-numbers --dark"
|
||||
git config --global delta.side-by-side true
|
||||
# git config --global delta.syntax-theme Dracula
|
||||
git config --global delta.syntax-theme "Solarized (dark)"
|
||||
# git config --global user.signingKey FEF9C627
|
||||
# git config --global commit.gpgsign true
|
||||
|
||||
if [ ! -d ~/.tmux/plugins/tpm ] ; then
|
||||
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
||||
|
||||
Reference in New Issue
Block a user