-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·20 lines (18 loc) · 774 Bytes
/
Copy pathsetup.sh
File metadata and controls
executable file
·20 lines (18 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
# Tree-sitter client is needed by nvim-treesitter
if [ ! -f /usr/local/bin/tree-sitter ]
then
wget https://github.com/tree-sitter/tree-sitter/releases/download/v0.26.8/tree-sitter-cli-linux-x64.zip
unzip tree-sitter-cli-linux-x64.zip
sudo mv tree-sitter /usr/local/bin/tree-sitter
sudo chmod +x /usr/local/bin/tree-sitter
rm tree-sitter-cli-linux-x64.zip
fi
# Set the locale to en_US.utf8 that is the one the docker image has installed.
# If not bash tries to use the locale of the host (en_GB.utf8 in my case)
echo '\n\nexport LANG=en_US.utf8' >> $HOME/.profile
echo -e '\nexport LC_ALL=en_US.utf8' >> $HOME/.profile
# ripgrep is used by neovim telescope
sudo apt-get update
sudo apt-get install -y ripgrep
sudo apt-get install -y lua5.1