aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2024-02-08 13:33:37 -0600
committerToby Vincent <tobyv@tobyvin.dev>2024-02-08 13:33:37 -0600
commitd0783550c34e746a7c6c80dca474f194f2f559e4 (patch)
treecf8b6a9e375f5746444a6401c11e8fefd93ab6b8
parent57760756db69e19cfabbac87e1ffd789a523ba07 (diff)
fix(zsh): fix bug in compinit
-rw-r--r--zsh/.config/zsh/.zshrc3
-rwxr-xr-xzsh/.config/zsh/.zshrc.d/99-compinit.zsh2
2 files changed, 3 insertions, 2 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index f029976..b2453aa 100644
--- a/zsh/.config/zsh/.zshrc
+++ b/zsh/.config/zsh/.zshrc
@@ -48,11 +48,12 @@ bindkey -M vicmd '^[[3~' delete-char
bindkey -M vicmd '^[[1;5C' forward-word
bindkey -M vicmd '^[[1;5D' backward-word
-alias ls='ls --color=auto'
+alias ls='ls --human-readable --color=auto'
alias ip='ip -color=auto'
alias grep='grep --color=auto'
alias info='info --vi-keys'
alias untar='tar -zxvf'
+alias userctl='systemctl --user'
# Adopt the behavior of the system wide configuration for application specific settings
#
diff --git a/zsh/.config/zsh/.zshrc.d/99-compinit.zsh b/zsh/.config/zsh/.zshrc.d/99-compinit.zsh
index 236d86a..910e481 100755
--- a/zsh/.config/zsh/.zshrc.d/99-compinit.zsh
+++ b/zsh/.config/zsh/.zshrc.d/99-compinit.zsh
@@ -8,5 +8,5 @@ compinit -u -C -d "${XDG_CACHE_HOME}/zsh/zcompdump"
TRAPUSR1() {
rehash
- compdump
+ compinit -u -d "${XDG_CACHE_HOME}/zsh/zcompdump"
}