zsh plugin fix

This commit is contained in:
2025-08-20 17:04:24 +02:00
parent dced9bf363
commit 255381edff
2 changed files with 2 additions and 0 deletions

View File

@@ -57,4 +57,5 @@ cp "$START_DIR"/waybar/* $HOME/.config/waybar -r
echo "Installing Oh my zsh" echo "Installing Oh my zsh"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
cp "$START_DIR"/zsh/.zshcr $HOME/.zshrc cp "$START_DIR"/zsh/.zshcr $HOME/.zshrc
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
chsh -s $(which zsh) chsh -s $(which zsh)

View File

@@ -35,3 +35,4 @@ function y() {
[ -n "$cwd" ] && [ "$cwd" != "$PWD" ] && builtin cd -- "$cwd" [ -n "$cwd" ] && [ "$cwd" != "$PWD" ] && builtin cd -- "$cwd"
rm -f -- "$tmp" rm -f -- "$tmp"
} }
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh