From e113ed3992f57a6ca4a5556c6621f7976031c939 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Mon, 19 Feb 2024 07:03:44 +0000 Subject: [PATCH] adds noclobber and interactive comments --- shells/zsh/STOW/.zshrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/shells/zsh/STOW/.zshrc b/shells/zsh/STOW/.zshrc index 56449d95..95fc85fe 100644 --- a/shells/zsh/STOW/.zshrc +++ b/shells/zsh/STOW/.zshrc @@ -15,6 +15,12 @@ HISTSIZE=10000 SAVEHIST=10000 HISTFILE=~/.cache/zsh/history +# Noclobber +set -o noclobber + +# Makes comments work in interactive +setopt interactive_comments + export KEYTIMEOUT=25 # Change cursor shape for different vi modes. (thanks Luke Smith: https://github.com/LukeSmithxyz/voidrice/) @@ -78,7 +84,7 @@ else /usr/bin/script -f "$current/shell-logs/$(date +"%d-%b-%y_%H-%M-%S")_shell.log" fi else - type -p rem > /dev/null && rem -@ + #type -p rem > /dev/null && rem -@ pkill rem fi fi