mirror of
https://github.com/sebaschi/dotfiles.git
synced 2025-12-29 02:08:27 +01:00
Compare commits
8 Commits
45b952f37a
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| a2ac456f72 | |||
| 04a07210a4 | |||
| 8ef6a87ba1 | |||
| 7c30e64c4b | |||
| 6475b15d70 | |||
| 36a3766aef | |||
| 0a392b6252 | |||
| 3540c154e6 |
@@ -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.
|
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
|
||||||
|
|||||||
@@ -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'
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
17
git/dot-config/git/ignore
Normal file
17
git/dot-config/git/ignore
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
.claude/
|
||||||
|
.claude
|
||||||
|
.claude/**
|
||||||
|
Claude.md
|
||||||
|
*.o
|
||||||
|
*.log
|
||||||
|
cache/
|
||||||
|
logs/
|
||||||
|
build/
|
||||||
|
|
||||||
|
# Python stuff
|
||||||
|
__pycache__/
|
||||||
|
*.pyc
|
||||||
|
|
||||||
|
|
||||||
|
# Environement/ 12 Factor
|
||||||
|
.env
|
||||||
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 = ""
|
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"
|
||||||
|
|||||||
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