*: Wrap lines at 80 columns where appropriate

Wrap lines at 80 columns where appropriate and I had the energy to think
about how/where to wrap.

There are still lines longer than that, which I plan to wrap in the
future. But that is enough for now.
This commit is contained in:
2022-05-11 14:58:08 +02:00
parent 3ced540d3a
commit b96d32996b
18 changed files with 165 additions and 65 deletions

View File

@@ -12,7 +12,9 @@ zstyle ':completion:*' menu select=2
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'm:{-_a-zA-Z}={_-A-Za-z}' 'r:|[._-]=* r:|=* l:|=*'
zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' \
'm:{-_a-zA-Z}={_-A-Za-z}' \
'r:|[._-]=* r:|=* l:|=*'
zstyle ':completion:*' menu select=long
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
zstyle ':completion:*' use-compctl false

View File

@@ -305,8 +305,9 @@ crypt-close() {
fi
udisksctl power-off -b "$1"
rm ~/mounts/"${mount_point:t}" && rmdir --ignore-fail-on-non-empty ~/mounts/ \
|| echo "~/mounts/${mount_point:t} did not exist"
rm ~/mounts/"${mount_point:t}" \
&& rmdir --ignore-fail-on-non-empty ~/mounts/ \
|| echo "~/mounts/${mount_point:t} did not exist"
}
if (( $+commands[trash] )); then