25 lines
355 B
Bash
25 lines
355 B
Bash
|
#!/usr/bin/zsh
|
||
|
|
||
|
# install latest stable git from PPA
|
||
|
sudo add-apt-repository -y \
|
||
|
ppa:git-core/ppa
|
||
|
|
||
|
sudo apt update -y
|
||
|
sudo apt install -y \
|
||
|
git
|
||
|
|
||
|
|
||
|
# link config
|
||
|
cd /Cfg/git/
|
||
|
ln -s `pwd`/.git* ~/ --force
|
||
|
|
||
|
|
||
|
|
||
|
BIN=~/.local/bin
|
||
|
mkdir -p "$BIN"
|
||
|
|
||
|
# link scripts
|
||
|
ln -s `pwd`/shipit.sh "$BIN/shipit" # --force
|
||
|
ln -s `pwd`/ggc.sh "$BIN/ggc" # --force
|
||
|
|