From 7c30e64c4bcc42312ac23d5b209541687133511d Mon Sep 17 00:00:00 2001 From: Sebastian Lenzlinger Date: Wed, 3 Dec 2025 22:33:58 +0100 Subject: [PATCH] Misc updates modified: README.md modified: bash/dot-bashrc modified: git/dot-config/git/config new file: helix/dot-config/helix/config.toml modified: pet/dot-config/pet/snippet.toml renamed: run.sh -> setup.sh --- README.md | 10 ++++++++++ bash/dot-bashrc | 9 +++++++-- git/dot-config/git/config | 6 ++++-- helix/dot-config/helix/config.toml | 5 +++++ pet/dot-config/pet/snippet.toml | 6 ++++++ run.sh => setup.sh | 0 6 files changed, 32 insertions(+), 4 deletions(-) create mode 100644 helix/dot-config/helix/config.toml rename run.sh => setup.sh (100%) diff --git a/README.md b/README.md index 747210a..807b7fb 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,16 @@ stow --dotfiles --verbose stow ``` This installs the `dot-stowrc` and global ignore list. +## Installing configs +```sh +stow +``` +`` is just one of the directories of this repo. +To see what the effect would be without applying anything (dry-run): +```sh +stow -n +``` + ## Included Configurations * **Shells**: Bash, Fish, Zsh diff --git a/bash/dot-bashrc b/bash/dot-bashrc index 3e52d5e..d98c5ec 100644 --- a/bash/dot-bashrc +++ b/bash/dot-bashrc @@ -137,8 +137,8 @@ eval "$(starship init bash)" eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" # Pagers -export PAGER="$(which moar)" -export MANPAGER="$PAGER" +#export PAGER="$(which moar)" +# export MANPAGER="$PAGER" # Github CLI aliases alias ghce="gh copilot explain" @@ -148,9 +148,14 @@ alias ghcs="gh copilot suggest" # broot does this now # alias fcd='cd "$(dirname "$(fzf)")"' alias st='systemctl-tui' +alias task='./task.py' # BEGIN hcloud source <(hcloud completion bash) # END hcloud source /home/seb/.config/broot/launcher/bash/br + +[ -f "/home/seb/.ghcup/env" ] && . "/home/seb/.ghcup/env" # ghcup-env + +alias nodeman='ssh hwsec nodeman' diff --git a/git/dot-config/git/config b/git/dot-config/git/config index ced0deb..b750f89 100644 --- a/git/dot-config/git/config +++ b/git/dot-config/git/config @@ -1,7 +1,9 @@ [user] name = Sebastian Lenzlinger - email = eswer@eswo.ch + email = s.m.lenzlinger@student.vu.nl [init] - defaultBranch = main + defaultBranch = devel [core] editor = nvim +[gpg "ssh"] + allowedSignersFile = /home/seb/.ssh/allowed_signers diff --git a/helix/dot-config/helix/config.toml b/helix/dot-config/helix/config.toml new file mode 100644 index 0000000..c252427 --- /dev/null +++ b/helix/dot-config/helix/config.toml @@ -0,0 +1,5 @@ +theme = "yellowed" + +[editor.cursor-shape] +insert = "bar" + diff --git a/pet/dot-config/pet/snippet.toml b/pet/dot-config/pet/snippet.toml index 09556a6..2fe4f40 100644 --- a/pet/dot-config/pet/snippet.toml +++ b/pet/dot-config/pet/snippet.toml @@ -4,3 +4,9 @@ Output = "" Tag = ["superuser", "bash", "sh", "envvar"] command = "sudo -E --shell" + +[[Snippets]] + Description = "Preprocess slabinfo header so that columns align correctly" + Output = "" + Tag = [] + command = "sed 's/# //' /proc/slabinfo | column -t" diff --git a/run.sh b/setup.sh similarity index 100% rename from run.sh rename to setup.sh