diff --git a/.config/aliasrc b/.config/aliasrc index ac9f921..bdd94b8 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -83,6 +83,10 @@ alias sc="sc-im" # script alias scriptclear="cat typescript | perl -pe 's/\e([^\[\]]|\[.*?[a-zA-Z]|\].*?\a)//g' | col -b > typescript-processed" +# tail + +alias mon="tail -f -n 500" + # tmux alias tmux="tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf" @@ -99,7 +103,7 @@ alias weather="curl wttr.in" alias wget="wget --hsts-file=$XDG_CACHE_HOME/wget-hsts" # yay -alias yay="yay --save --sudoloop" +alias yay="yay --sudoloop --noredownload --norebuild" # youtube-dl alias yta="youtube-dl -f 'bestaudio[ext=m4a]'" diff --git a/.local/bin/suckless/suckclean b/.local/bin/suckless/suckclean deleted file mode 100755 index 3caec30..0000000 --- a/.local/bin/suckless/suckclean +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/zsh - -# for cleaning up the master branch of a git directory according to my suckless patch structure -# e.g. see dwm/st/etc -# by uoou, checkout gitlab.com/uoou/dotfiles - -make clean && rm -f config.h && git reset --hard origin/base diff --git a/.local/bin/suckless/suckdiff b/.local/bin/suckless/suckdiff deleted file mode 100755 index 6c91807..0000000 --- a/.local/bin/suckless/suckdiff +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -# for showing the diffs to the master branch of a git directory according to my suckless patch structure -# e.g. see dwm/st/etc -# by uoou, checkout gitlab.com/uoou/dotfiles - -git checkout master && -dotfiles="/home/tiynger/.config/dotfiles/suckless" -project=$(basename $(pwd)) -diffdir="${dotfiles}/${project}_diffs/" -olddiffdir="${dotfiles}/${project}_diffs/old/" -rm -rf "$olddiffdir" && -mkdir -p "$olddiffdir" && -mkdir -p "$diffdir" && -mv "$diffdir"*.diff "$olddiffdir" || true && -make clean && rm -f config.h && git reset --hard origin/base && -for branch in $(git for-each-ref --format='%(refname)' refs/heads/ | cut -d'/' -f3); do - if [ "$branch" != "master" ];then - git diff base..$branch > "${diffdir}${project}_${branch}.diff" - fi -done - diff --git a/.local/bin/suckless/suckmerge b/.local/bin/suckless/suckmerge deleted file mode 100755 index 1080095..0000000 --- a/.local/bin/suckless/suckmerge +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -# for merging all branches into the master branch of a git directory according to my suckless patch structure -# e.g. see dwm/st/etc -# by uoou, checkout gitlab.com/uoou/dotfiles - -suckdiff && -git reset --hard origin/base && -for branch in $(git for-each-ref --format='%(refname)' refs/heads/ | cut -d'/' -f3); do - if [[ ("$branch" != "master") && ("$branch" != "base") ]];then - echo $branch - git merge $branch -m $branch - fi -done -make && sudo make clean install -