From 505b88bf8462bea78d082d2ba03273ce114f8239 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 8 Aug 2022 09:30:04 +0300 Subject: Added a zsh omz files update script and updated certain omz libs --- .zsh/omz/compfix.zsh | 26 +++++++++++++++----------- .zsh/omz/spectrum.zsh | 6 ++++-- .zsh/omz/termsupport.zsh | 17 ++++++++--------- .zsh/omz/update.sh | 10 ++++++++++ 4 files changed, 37 insertions(+), 22 deletions(-) create mode 100755 .zsh/omz/update.sh (limited to '.zsh') diff --git a/.zsh/omz/compfix.zsh b/.zsh/omz/compfix.zsh index 290760e..b09b283 100644 --- a/.zsh/omz/compfix.zsh +++ b/.zsh/omz/compfix.zsh @@ -25,16 +25,20 @@ function handle_completion_insecurities() { ls -ld "${(@)insecure_dirs}" cat <...>$LINE%<<' + title "$CMD" "%100>...>${LINE}%<<" } autoload -Uz add-zsh-hook diff --git a/.zsh/omz/update.sh b/.zsh/omz/update.sh new file mode 100755 index 0000000..bfe77c3 --- /dev/null +++ b/.zsh/omz/update.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +mkdir -p "update-$(date)" +mv *.zsh "update-$(date)" + +wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/lib/compfix.zsh +wget https://github.com/ohmyzsh/ohmyzsh/raw/master/lib/history.zsh +wget https://github.com/ohmyzsh/ohmyzsh/raw/master/lib/key-bindings.zsh +wget https://github.com/ohmyzsh/ohmyzsh/raw/master/lib/spectrum.zsh +wget https://github.com/ohmyzsh/ohmyzsh/raw/master/lib/termsupport.zsh -- cgit v1.2.3