Add comment to clarify exported variables are temporarily in .zshrc until a more permanent solution is found. Remove unnecessary periods from section comments.

This commit is contained in:
inference 2023-03-01 01:46:35 +00:00
parent 4344cd9525
commit 09bef8e422
Signed by: inference
SSH Key Fingerprint: SHA256:9Pl0nZ2UJacgm+IeEtLSZ4FOESgP1eKCtRflfPfdX9M

View File

@ -4,37 +4,38 @@
# Copyright 2022-2023 Jake Winters
# SPDX-License-Identifier: GPL-3.0-or-later
# Version: 5.0.0.11
# Version: 5.0.1.12
# Temporary export variables until permanent solution is found
export LD_PRELOAD="/usr/local/lib/libhardened_malloc.so"
# Prompt.
# Prompt
PROMPT=%n@%M:%#" "
# Options.
# Options
setopt extendedglob KSH_ARRAYS nomatch
unsetopt autocd AUTO_REMOVE_SLASH beep
# Keybinds.
# Keybinds
bindkey -e
bindkey "^[[3" delete-char
bindkey "^[[H" beginning-of-line
bindkey "^[[F" end-of-line
# zstyle.
# zstyle
zstyle :compinstall filename '~/.zshrc'
zstyle ':completion:*' menu select
autoload -Uz compinit
compinit
# History.
# History
HISTFILE=~/.zsh-history
HISTSIZE=1024
SAVEHIST=1024
# XDG_RUNTIME_DIR.
# XDG_RUNTIME_DIR
if test -z "${XDG_RUNTIME_DIR}"; then
export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
if ! test -d "${XDG_RUNTIME_DIR}"; then
@ -44,11 +45,11 @@ if test -z "${XDG_RUNTIME_DIR}"; then
fi
# Aliases.
## Global.
## Global
if [[ -f ~/.zsh-alias-global ]]; then
. ~/.zsh-alias-global
fi
## User.
## User
if [[ -f ~/.zsh-alias-user ]]; then
. ~/.zsh-alias-user
fi