mirror of
https://github.com/sebaschi/dotfiles.git
synced 2025-12-29 10:18:26 +01:00
Compare commits
5 Commits
36a3766aef
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| a2ac456f72 | |||
| 04a07210a4 | |||
| 8ef6a87ba1 | |||
| 7c30e64c4b | |||
| 6475b15d70 |
@@ -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.
|
||||
10
README.md
10
README.md
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
5
helix/dot-config/helix/config.toml
Normal file
5
helix/dot-config/helix/config.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
theme = "yellowed"
|
||||
|
||||
[editor.cursor-shape]
|
||||
insert = "bar"
|
||||
|
||||
@@ -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"
|
||||
|
||||
12
shellib/dot-local/lib/shellib/libseb.sh
Normal file
12
shellib/dot-local/lib/shellib/libseb.sh
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user