personal blog
git clone git://
Log | Files | Refs | README

commit 18aa1f6485f57dc861bc84ab5407232eacb8e094
parent b52e377c5c37ba4ebd5eaf61d0d6c551b8234d29
Author: pyratebeard <>
Date:   Mon,  4 Dec 2023 20:40:04 +0000


Mentry/ | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/entry/ b/entry/ @@ -29,6 +29,14 @@ This one is probably good practice anyway. Switching all my `#!/bin/bash` crash #### [58fa110b56b090fbb378a16ad8df5a812588a20b]({target="_blank" rel="noreferrer"} Aliases are important, there were a couple of changes required here. First some systems use `doas` instead of `sudo` so I put in a check for `doas` and if it exists I alias it to `sudo`. That way all my aliases that are configured to use `sudo` don't break. My shutdown function also had to be modified to work on any platform, so I switched to directly calling `halt`. +#### [255622b7c1b8e68529be337126bfdbd9575c609e]({target="_blank" rel="noreferrer"} +More alias issues, this time with `ls`. I have grown to like colour output with `ls` but the OpenBSD package doesn't provide the `--color` option. I attempted to find a workaround but instead succumbed to installing the coreutils package which includes `gls`, and thus providing `--color`. I then check with package is installed to set my alias. + +The same check is configured in my `chpwd_auto_cd` function as it didn't seem to pick up the alias. If you're interested, [this function]({target="_blank" rel="noreferrer"} auto runs `ls` when I `cd` into a directory. + +The coreutils package also gives me `gdircolors`, a substitute for `dircolors`, which is used in my `zsh` autocompletion settings. + + things still to change * tmux status - battery * iip alias breaks things on openbsd