Improve gitconfig and install script
This commit is contained in:
parent
22fe5fefc7
commit
a27ed0a820
8
install.lazygit.sh
Executable file
8
install.lazygit.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | \grep -Po '"tag_name": *"v\K[^"]*')
|
||||||
|
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/download/v${LAZYGIT_VERSION}/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
|
||||||
|
|
||||||
|
tar xf lazygit.tar.gz lazygit
|
||||||
|
sudo install lazygit -D -t /usr/local/bin/
|
||||||
|
rm lazygit lazygit.tar.gz
|
@ -11,3 +11,11 @@ git clone https://github.com/agkozak/zsh-z ~/.oh-my-zsh/custom/plugins/zsh-z
|
|||||||
./solve-stow.sh zsh
|
./solve-stow.sh zsh
|
||||||
|
|
||||||
chsh -s $(which zsh)
|
chsh -s $(which zsh)
|
||||||
|
|
||||||
|
echo "Do you wish to install lazygit?"
|
||||||
|
select yn in "Yes" "No"; do
|
||||||
|
case $yn in
|
||||||
|
Yes ) ./install.lazygit.sh; break;;
|
||||||
|
No ) exit;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
[user]
|
[user]
|
||||||
email = tim.veenendaal@gmail.com
|
|
||||||
name = Tim
|
name = Tim
|
||||||
[core]
|
[core]
|
||||||
excludesfile = /home/tim/.gitignore
|
excludesfile = ~/.gitignore
|
||||||
[push]
|
[push]
|
||||||
default = current
|
default = current
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = master
|
defaultBranch = master
|
||||||
|
[include]
|
||||||
|
path = ~/.gitconfig.local
|
||||||
|
Loading…
x
Reference in New Issue
Block a user