This commit is contained in:
nub31
2025-05-07 19:20:06 +02:00
commit 7e1bfbfb2b
22 changed files with 1019 additions and 0 deletions

19
.bashrc-alias Normal file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
cleanbranches(){
git fetch -p && for branch in $(git for-each-ref --format '%(refname) %(upstream:track)' refs/heads | awk '$2 == "[gone]" {sub("refs/heads/", "", $1); print $1}' ) ; do git branch -D $branch ; done
}
alias ll="ls -la"
alias k="kubectl"
alias gut="cleanbranches"
alias fucking="sudo"
alias pat="cat ~/.bak/PAT"
alias clip="wl-copy"
if [ "$PS1" ]; then
alias grep="grep --color=auto"
alias ls="ls --color=auto"
alias ll="ls -la --color=auto"
fi