dotfiles/sh/.config/sh
Marty Oehme 274cc8026a
sh: Add distrobox alias and enable displaying host
Add a simple alias to quickly use distrobox with `db` alias, and modify
pure prompt initialization slightly so that it displays a hostname when
in a distrobox container (akin to operating from ssh or normal container
usage).

HACKY implementation makes use of both an internal pure prompt api
(see here https://github.com/sindresorhus/pure/issues/585)
and a distrobox env var that I am not sure how exposed it is either.
Powerlevel10k uses a similar method though, so maybe it is fine
(see here 33916e91a7/internal/p10k.zsh (L8336)).
2023-01-10 16:55:25 +01:00
..
alias.d sh: Add timg aliases 2022-11-25 17:02:48 +01:00
profile.d sh: Fix graphical session start for ssh sessions 2022-01-28 10:15:47 +01:00
alias sh: Add distrobox alias and enable displaying host 2023-01-10 16:55:25 +01:00
env sh: Ensure environment editor is available 2022-12-20 23:05:20 +01:00
profile Add basic XDG compliant sh architecture 2020-02-02 15:08:40 +00:00
xdg sh: Remove docker xdg configuration 2023-01-07 14:56:09 +01:00