2025-04-02 03:17:05 +02:00
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
packages_linux_common_all_families:
|
|
|
|
- 'bc'
|
|
|
|
- 'btop'
|
|
|
|
- 'dosfstools'
|
2025-05-20 19:34:27 +02:00
|
|
|
- 'dhcping'
|
2025-04-02 03:17:05 +02:00
|
|
|
- 'fping'
|
|
|
|
- 'git'
|
|
|
|
- 'iperf3'
|
|
|
|
- 'jq'
|
|
|
|
- 'lnav'
|
|
|
|
- 'lsof'
|
|
|
|
- 'mbuffer'
|
|
|
|
- 'mtr'
|
|
|
|
- 'ncdu'
|
|
|
|
- 'netperf'
|
|
|
|
- 'parallel'
|
|
|
|
- 'parted'
|
|
|
|
- 'patch'
|
|
|
|
- 'pigz'
|
|
|
|
- 'pv'
|
|
|
|
- 'rsync'
|
2025-08-10 23:58:25 +02:00
|
|
|
- 'stress-ng'
|
2025-04-02 03:17:05 +02:00
|
|
|
- 'swaks'
|
|
|
|
- 'tcpdump'
|
|
|
|
- 'tmux'
|
2025-08-10 23:57:17 +02:00
|
|
|
- 'traceroute'
|
2025-04-02 03:17:05 +02:00
|
|
|
- 'tree'
|
|
|
|
- 'unzip'
|
|
|
|
- 'wget'
|
|
|
|
|
|
|
|
packages_linux_common_archlinux:
|
|
|
|
- 'bind'
|
|
|
|
- 'difftastic'
|
|
|
|
- 'eza'
|
|
|
|
- 'go-yq'
|
|
|
|
- 'gptfdisk'
|
|
|
|
- 'openbsd-netcat'
|
|
|
|
- 'qemu-guest-agent'
|
|
|
|
- 'uv'
|
|
|
|
|
|
|
|
packages_linux_paru_archlinux:
|
|
|
|
- 'downgrade'
|
|
|
|
- 'flent'
|
|
|
|
- 'mmv'
|
|
|
|
- 'paccache-hook'
|
2025-08-21 04:08:51 +02:00
|
|
|
- 'tmux-resurrect'
|
2025-04-02 03:17:05 +02:00
|
|
|
|
|
|
|
packages_linux_common_debian:
|
|
|
|
- 'apt-file'
|
|
|
|
- 'bind9-dnsutils'
|
2025-08-10 23:55:32 +02:00
|
|
|
- 'debconf-utils'
|
2025-04-02 03:17:05 +02:00
|
|
|
- 'exa'
|
|
|
|
- 'flent'
|
|
|
|
- 'gdisk'
|
|
|
|
- 'mmv'
|
|
|
|
- 'netcat-openbsd'
|
|
|
|
- 'unattended-upgrades'
|
|
|
|
- 'xxd'
|
2025-08-21 03:48:22 +02:00
|
|
|
|
|
|
|
package_config:
|
|
|
|
- name: 'tmux'
|
|
|
|
global_config_file: '/etc/tmux.conf'
|
|
|
|
marker: 'sane defaults'
|
|
|
|
global_config: |
|
|
|
|
# Renumber windows when one is deleted
|
|
|
|
set-option -g renumber-windows on
|
|
|
|
|
|
|
|
# Enable mouse control (clickable windows, panes, resizable panes)
|
|
|
|
set -g mouse on
|
|
|
|
- name: 'git'
|
|
|
|
global_config_file: '/etc/gitconfig'
|
|
|
|
marker: 'sane defaults'
|
|
|
|
global_config: |
|
|
|
|
[alias]
|
|
|
|
# https://stackoverflow.com/a/30998048
|
|
|
|
# Find merge that contains a given commit
|
|
|
|
find-merge = "!sh -c 'commit=$0 && branch=${1:-HEAD} && (git rev-list $commit..$branch --ancestry-path | cat -n; git rev-list $commit..$branch --first-parent | cat -n) | sort -k2 -s | uniq -f1 -d | sort -n | tail -1 | cut -f2'"
|
|
|
|
|
|
|
|
# https://stackoverflow.com/a/30998048
|
|
|
|
# Show merge commit msg and other details of merge commit
|
|
|
|
# that contains a given commit
|
|
|
|
show-merge = "!sh -c 'merge=$(git find-merge $0 $1) && [ -n \"$merge\" ] && git show $merge'"
|
|
|
|
|
|
|
|
# https://stackoverflow.com/a/23508223
|
|
|
|
# Show all commits that are part of a merge commit
|
|
|
|
log-merge = "!f() { git log --stat \"$1^..$1\"; }; f"
|
|
|
|
|
|
|
|
tmux_global_config_file: '/etc/tmux.conf'
|
|
|
|
tmux_global_config_resurrect: |
|
|
|
|
# Auto-load tmux-resurrect
|
|
|
|
# prefix + Ctrl-s - save
|
|
|
|
# prefix + Ctrl-r - restore
|
|
|
|
run-shell /usr/share/tmux-resurrect/resurrect.tmux
|
|
|
|
|
|
|
|
# Restore pane content (not just running commands)
|
|
|
|
# This will e.g. show the last 'ls' output you did in a pane
|
|
|
|
set -g @resurrect-capture-pane-contents 'on'
|
|
|
|
|
|
|
|
# Restore a few additional processes beyond the conservative default of
|
|
|
|
# vi vim nvim emacs man less more tail top htop irssi weechat mutt
|
|
|
|
set -g @resurrect-processes 'btop journalctl ncdu watch'
|