From d0783550c34e746a7c6c80dca474f194f2f559e4 Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Thu, 8 Feb 2024 13:33:37 -0600 Subject: fix(zsh): fix bug in compinit --- zsh/.config/zsh/.zshrc | 3 ++- zsh/.config/zsh/.zshrc.d/99-compinit.zsh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'zsh') 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" } -- cgit v1.2.3-70-g09d2