dotfiles/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
..
.config/sh sh: Add distrobox alias and enable displaying host 2023-01-10 16:55:25 +01:00
.local/bin nvim: Disable uninstalled python language servers 2022-04-30 21:00:05 +02:00
README.md sh: Add internet-check base script 2021-09-24 11:16:29 +02:00

sh

The bare minimum terminal configuration for a working system. Contains:

  • an XDG compliant home directory setup
  • several basic environment variables
  • simple aliases
  • an optional fzf default setup
  • X autostart

While other modules are largely optional, this module is the only one strictly necessary for the system to really work at all.

Additionally contains two scripts on which some other modules build:

  • a simple script to detect if applications exist (and optionally warn the user if they don't)
  • and a script to check if internet connectivity exists