diff options
Diffstat (limited to 'shenanigans.sh')
| -rwxr-xr-x | shenanigans.sh | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/shenanigans.sh b/shenanigans.sh index c79ac71..545fc75 100755 --- a/shenanigans.sh +++ b/shenanigans.sh | |||
| @@ -1,7 +1,3 @@ | |||
| 1 | # Software list: | ||
| 2 | # cifs-utils tree hstr s3cmd xclip mc gnupg ripgrep jq busybox | ||
| 3 | # xmlstarlet htop nvtop tmux vim ctags picom scrot xsetroot | ||
| 4 | |||
| 5 | # Magical environment variables. | 1 | # Magical environment variables. |
| 6 | NIX_SHELL_PRESERVE_PROMPT=1 | 2 | NIX_SHELL_PRESERVE_PROMPT=1 |
| 7 | TERM=xterm-256color | 3 | TERM=xterm-256color |
| @@ -59,6 +55,17 @@ bind '"\e[B": history-search-forward' | |||
| 59 | export HSTR_CONFIG=hicolor | 55 | export HSTR_CONFIG=hicolor |
| 60 | if [[ $- =~ .i. ]]; then bind '"\C-h": "\C-a hstr -- \C-j"'; fi | 56 | if [[ $- =~ .i. ]]; then bind '"\C-h": "\C-a hstr -- \C-j"'; fi |
| 61 | 57 | ||
| 58 | # Machine provision script for essential software. | ||
| 59 | # This is meant to be used on Debian 11+. | ||
| 60 | provision() { | ||
| 61 | doas apt install \ | ||
| 62 | build-essential git gcc make busybox cifs-utils tree hstr s3cmd \ | ||
| 63 | xmlstarlet htop nvtop tmux picom scrot xclip mc ripgrep jq \ | ||
| 64 | rsync doas newsboat entr clang clang-tidy clang-tools \ | ||
| 65 | libx11-dev libxinerama-dev libxft-dev x11-xserver-utils \ | ||
| 66 | podman podman-compose | ||
| 67 | } | ||
| 68 | |||
| 62 | # Backup to NAS function. Much wow! | 69 | # Backup to NAS function. Much wow! |
| 63 | backup() { | 70 | backup() { |
| 64 | CWD=$(pwd) | 71 | CWD=$(pwd) |
