1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-09 19:11:15 +02:00

bin structure and vifm preview

This commit is contained in:
TiynGER
2020-03-31 20:32:16 +02:00
parent 148aaee349
commit 3ca4ecaaa1
27 changed files with 316 additions and 59 deletions

View File

@@ -1,2 +1,6 @@
#!/bin/zsh
# for cleaning up the master branch of a git directory according to my suckless patch structure
# e.g. see dwm/st/etc
make clean && rm -f config.h && git reset --hard origin/base

View File

@@ -1,4 +1,8 @@
#!/usr/bin/zsh
# for showing the diffs to the master branch of a git directory according to my suckless patch structure
# e.g. see dwm/st/etc
git checkout master &&
dotfiles="/home/tiynger/.config/dotfiles/suckless"
project=$(basename $(pwd))

View File

@@ -1,4 +1,8 @@
#!/bin/zsh
# for merging all branches into the master branch of a git directory according to my suckless patch structure
# e.g. see dwm/st/etc
suckdiff &&
git reset --hard origin/base &&
for branch in $(git for-each-ref --format='%(refname)' refs/heads/ | cut -d'/' -f3); do