Compare commits

...

4 Commits

Author SHA1 Message Date
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
8 changed files with 49 additions and 5 deletions

View File

@@ -17,6 +17,16 @@ stow --dotfiles --verbose stow
``` ```
This installs the `dot-stowrc` and global ignore list. 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 ## Included Configurations
* **Shells**: Bash, Fish, Zsh * **Shells**: Bash, Fish, Zsh

View File

@@ -137,8 +137,8 @@ eval "$(starship init bash)"
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
# Pagers # Pagers
export PAGER="$(which moar)" #export PAGER="$(which moar)"
export MANPAGER="$PAGER" # export MANPAGER="$PAGER"
# Github CLI aliases # Github CLI aliases
alias ghce="gh copilot explain" alias ghce="gh copilot explain"
@@ -148,5 +148,14 @@ alias ghcs="gh copilot suggest"
# broot does this now # broot does this now
# alias fcd='cd "$(dirname "$(fzf)")"' # alias fcd='cd "$(dirname "$(fzf)")"'
alias st='systemctl-tui' alias st='systemctl-tui'
alias task='./task.py'
# BEGIN hcloud
source <(hcloud completion bash)
# END hcloud
source /home/seb/.config/broot/launcher/bash/br 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-height = 35
window-save-state = always window-save-state = always
auto-update = download 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+l=goto_split:right
keybind = ctrl+shift+h=goto_split:left keybind = ctrl+shift+h=goto_split:left
keybind = ctrl+shift+j=goto_split:bottom keybind = ctrl+shift+j=goto_split:bottom

View File

@@ -1,7 +1,9 @@
[user] [user]
name = Sebastian Lenzlinger name = Sebastian Lenzlinger
email = eswer@eswo.ch email = s.m.lenzlinger@student.vu.nl
[init] [init]
defaultBranch = main defaultBranch = devel
[core] [core]
editor = nvim 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 = "" Output = ""
Tag = ["superuser", "bash", "sh", "envvar"] Tag = ["superuser", "bash", "sh", "envvar"]
command = "sudo -E --shell" 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
}