diff options
| author | Martin Fischer <martin@push-f.com> | 2026-01-06 22:54:41 +0100 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-01-06 23:28:28 +0100 |
| commit | 1c0fb275f3f302d6abc3ef560a80ceec8a8e6b8c (patch) | |
| tree | e06201a62fa7fe8fff13d2919fa5b822bd79356f /user | |
| parent | d788e8e4eea02ba6a7ebdec54aa9120b82d05410 (diff) | |
refactor: move scripts to cmd50
Diffstat (limited to 'user')
| -rw-r--r-- | user/open/config.toml | 11 | ||||
| -rw-r--r-- | user/zsh/zshrc-workstation.sh | 4 |
2 files changed, 14 insertions, 1 deletions
diff --git a/user/open/config.toml b/user/open/config.toml new file mode 100644 index 0000000..c99864d --- /dev/null +++ b/user/open/config.toml @@ -0,0 +1,11 @@ +[mime-types] +"application/pdf" = ["zathura"] +"image/*" = ["imv"] +"text/html" = ["firefox"] +"text/*" = ["foot", "vim"] +"video/*" = ["mpv"] + +[uri-schemes] +"http" = ["firefox"] +"https" = ["firefox"] +"mailto" = ["thunderbird"] diff --git a/user/zsh/zshrc-workstation.sh b/user/zsh/zshrc-workstation.sh index b7458b0..a31627b 100644 --- a/user/zsh/zshrc-workstation.sh +++ b/user/zsh/zshrc-workstation.sh @@ -20,7 +20,9 @@ path+=$NPM_CONFIG_PREFIX/bin eval "$(direnv hook zsh)" function ssh() { - # In my ~/.ssh/config I configure host-specific background colors, for example: + # When I ssh into a server my terminal changes to a host-specific background color via + # a LocalCommand configured in ~/.ssh/config and this ZSH function resets the color on exit. + # For example in ~/.ssh/config I could configure: # # Host forest # LocalCommand set-bg 003300 |
