It was the best of terminals, it was the worst of terminals...
My own digital ramblings about a sane CLI experience across various platforms (oh, and that thing they call a GUI as well...).
My main, concrete guides:
- OpenBSD
- POSIX
Cross-platform (Mostly. "It may be that. You never can tell with bees."):
- dotfiles
vimode,vimode,vimode- keyboard re-mapping of Caps_Lock to Control
tmuxwith custom status bar andvi-like bindingsspleenfont- packages and configurations
- cloning of other repositories, given a
~/code/.my_repos
OpenBSD
- CWM
- fancy use of
xlock,xidle,xcetera...
From the root directory of this repository, execute:
grep -ril '^#!/bin/sh' . |
grep -Ev '^\./\.git' |
xargs shellcheck -axOne can execute the following before and after the usage steps to compare:
find "${HOME}" -type l -exec file {} \; |
grep -E "to[[:space:]]+'${HOME}/dotfiles/" |
sort |
column -t-
Install
git-
macOSis a special scenario:# May want to check latest install command: https://brew.sh/ if ! command -v brew > /dev/null 2> /dev/null then /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" arch="$(uname -m)" if test "${arch}" = "arm64" then eval "$(/opt/homebrew/bin/brew shellenv)" elif test "${arch}" = "x86_64" then eval "$(/usr/local/bin/brew shellenv)" fi fi
-
-
Install
shellcheckfor linting the shell scripts -
Clone this repo as
"${HOME}"/dotfilesandcdinto it -
(!!!DESTRUCTIVE!!!) Symlink both dotfiles and corresponding executables (and their libraries):
./install.sh -
Leaving the current shell running, open a new one and test things out
Beyond official documentation, I have been greatly inspired by the following examples (though I prefer classic, usually built-in, tools over newer tools):
- https://missing.csail.mit.edu/
- https://www.c0ffee.net/blog/openbsd-on-a-laptop/
- ThePrimeagen's workstation setup tutorial (I have only watched the free preview), ThePrimeagen, ThePrimeTimeagen
- https://astro-gr.org/openbsd/
Potential sources of future inspiration: