Compare commits

...

3 commits

5 changed files with 29 additions and 15 deletions

View file

@ -1,6 +1,8 @@
#!/usr/bin/env sh #!/usr/bin/env sh
export DRONE_SERVER='https://ci.serguzim.me' export DRONE_SERVER="https://ci.serguzim.me"
export HASTE_SERVER="https://haste.snrd.eu"
export LINKWARDEN_URL="https://bookmarks.serguzim.me" export LINKWARDEN_URL="https://bookmarks.serguzim.me"

View file

@ -11,7 +11,6 @@
[diff] [diff]
tool = difftastic tool = difftastic
external = difft
[difftool] [difftool]
prompt = false prompt = false
[difftool "difftastic"] [difftool "difftastic"]
@ -24,12 +23,10 @@
b = branch -vv b = branch -vv
ci = commit ci = commit
cia = commit -C HEAD --amend cia = commit -C HEAD --amend
d = diff d = difftool
dc = diff --cached dc = difftool --cached
ds = diff --stat ds = difftool --stat
dw = diff --word-diff=color dw = difftool --word-diff=color
dt = difftool
dtc = difftool --cached
l = log --graph l = log --graph
lo = log --graph --decorate --pretty='format:%C(auto)%h <%as>%d %s' --abbrev-commit --all lo = log --graph --decorate --pretty='format:%C(auto)%h <%as>%d %s' --abbrev-commit --all
s = status s = status

View file

@ -18,6 +18,7 @@
git # git git # git
gitflow # tool for git workflow gitflow # tool for git workflow
git-lfs # git support for large files git-lfs # git support for large files
haste-client # tool to paste files
hostname # tool to get hostname hostname # tool to get hostname
jq # tool for json jq # tool for json
moar # moar is less moar # moar is less

View file

@ -1,9 +1,23 @@
#!/usr/bin/env sh #!/usr/bin/env sh
echo "Updating push-url to use ssh" echo "Loading environment variables"
. "$HOME/.config/environment"
echo "Configuring yadm"
yadm gitconfig core.bare false
yadm gitconfig core.worktree "$HOME"
yadm gitconfig status.showUntrackedFiles no
yadm remote set-url --push origin "git@git.serguzim.me:serguzim/.dotfiles.git" yadm remote set-url --push origin "git@git.serguzim.me:serguzim/.dotfiles.git"
echo "Autoinstall base" if [ ! -x "$(command -v autoinstall)" ];
autoinstall base then
echo "Installing autoinstall command"
mkdir -p "$HOME/.local/bin"
curl -Lo "$HOME/.local/bin/autoinstall" https://git.serguzim.me/serguzim/tools/releases/download/latest/autoinstall
chmod +x "$HOME/.local/bin/autoinstall"
fi
echo "Autoinstalling base"
autoinstall run base
echo "Don't forget to decrypt yadm secrets" echo "Don't forget to decrypt yadm secrets"