From e8c690bde462f7c70ed86cd67b68ae7560007f0d Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Thu, 18 Aug 2022 08:59:57 +0100 Subject: [PATCH] Use emacs navigation in zsh --- roles/home-cli/files/bashrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/home-cli/files/bashrc b/roles/home-cli/files/bashrc index 9140bef..e46329e 100644 --- a/roles/home-cli/files/bashrc +++ b/roles/home-cli/files/bashrc @@ -61,8 +61,11 @@ done umask 0022 -if [ -z "$ZSH_VERSION" ] +if [ -n "$ZSH_VERSION" ] then + setopt emacs + setopt noclobber +else set -o emacs set -o noclobber fi