aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/zsh/.config
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-10-18 15:17:40 -0500
committerToby Vincent <tobyv13@gmail.com>2022-10-18 15:17:40 -0500
commit5bdf3c640f390305fef7f771ea7f05db85482ff6 (patch)
tree1ee22075c226aaa5448b3f86adef23c974686f74 /zsh/.config
parent0e355edd40eed62e8ad7f79db88f4ae03680be05 (diff)
refactor(zsh): clean up plugins and improve compinit
Diffstat (limited to 'zsh/.config')
-rw-r--r--zsh/.config/zsh/.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index d19c33d..3971353 100644
--- a/zsh/.config/zsh/.zshrc
+++ b/zsh/.config/zsh/.zshrc
@@ -52,7 +52,7 @@ alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
alias tlmgr='/usr/share/texmf-dist/scripts/texlive/tlmgr.pl --usermode'
alias unlock='echo "" | gpg --clearsign --verbose && ssh -T git@github.com'
-SHELDON_PROFILE="$(uname -r | sed 's/^.*-//g' 2>/dev/null)"
+SHELDON_PROFILE="$(uname -r 2>/dev/null | rev | cut -d- -f1 | rev)"
export SHELDON_PROFILE
export ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern line)
export ZSH_AUTOSUGGEST_STRATEGY=(match_prev_cmd completion)