This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Global options | |
# 256 colors support | |
set -g default-terminal "tmux-256color" | |
set -g escape-time 0 | |
# extend history limit | |
set -g history-limit 10000 | |
# mouse support | |
set -g mouse on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
## Local branches ## | |
# deletion of merged branches through bang operator emulation | |
# a deletion is made only if, at least, a branch exists | |
clean-lbranches = "!f() { \ | |
git branch --merged | \ | |
grep -Ewv '^\\*|main|master|develop' | \ | |
xargs -n1 -r git branch -d; \ | |
}; f" |