Compare commits

...

5 Commits

Author SHA1 Message Date
a2ac456f72 Remove superfluous changelog and todos file 2025-12-04 00:54:39 +01:00
04a07210a4 Don't hard code nu shell path for ghostty 2025-12-04 00:38:37 +01:00
8ef6a87ba1 Add new lib for shell 2025-12-04 00:34:50 +01:00
7c30e64c4b 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
2025-12-03 22:33:58 +01:00
6475b15d70 Source hcloud bash completions in bashrc 2025-07-15 11:10:55 +02:00
10 changed files with 49 additions and 11 deletions

View File

@@ -1,4 +0,0 @@
# Changes
## Monday June 16, 2025
Started to reorganize the repo for use with GNU stow. I'm thinking why develop and maintain a system myself, when such a good tool for symlink farming, and thus also my use case of dotfiles management, already exists.

View File

@@ -17,6 +17,16 @@ stow --dotfiles --verbose stow
```
This installs the `dot-stowrc` and global ignore list.
## Installing configs
```sh
stow <config-pkg-name>
```
`<config-pkg-name>` is just one of the directories of this repo.
To see what the effect would be without applying anything (dry-run):
```sh
stow -n <config-pkg-name>
```
## Included Configurations
* **Shells**: Bash, Fish, Zsh

View File

@@ -1,2 +0,0 @@
+ update readme
+ rethink shell/bash standardlib

View File

@@ -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,5 +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'

View File

@@ -7,7 +7,7 @@ window-width = 140
window-height = 35
window-save-state = always
auto-update = download
command = /home/linuxbrew/.linuxbrew/bin/nu
# command = /home/linuxbrew/.linuxbrew/bin/nu
keybind = ctrl+shift+l=goto_split:right
keybind = ctrl+shift+h=goto_split:left
keybind = ctrl+shift+j=goto_split:bottom

View File

@@ -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

View File

@@ -0,0 +1,5 @@
theme = "yellowed"
[editor.cursor-shape]
insert = "bar"

View File

@@ -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"

View File

View File

@@ -0,0 +1,12 @@
log() {
# Write msg to stderr.
# Taken from https://github.com/oils-for-unix/oils/blob/master/stdlib/osh/two.sh
echo "$@" >&2
}
die() {
# Write error msg with script name and exit with status 1.
# Taken from https://github.com/oils-for-unix/oils/blob/master/stdlib/osh/two.sh
log "$@: fatal $@"
exit 1
}