From 51f4ef09e5b3798494d51779d17b351f7076d534 Mon Sep 17 00:00:00 2001 From: emma Date: Mon, 28 Aug 2023 18:38:46 -0600 Subject: [PATCH] fixed .profile & install script --- install.sh | 2 +- noire-carnation/profile | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index 22a9bba..32e9238 100755 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ if test -z "$1"; then printf "Usage: %s machine\n" "$0" 1>&2 - exit 64 # sysexits(3) EX_USAGE + exit 64 # sysexits.h(3) EX_USAGE fi case "$1" in diff --git a/noire-carnation/profile b/noire-carnation/profile index c327184..c0e52de 100644 --- a/noire-carnation/profile +++ b/noire-carnation/profile @@ -114,9 +114,9 @@ case "$SHELL" in /bin/sh || */dash ) set -o vi PS1='$ ' - ;; + ;; - */zsh ) + */zsh ) HISTFILE="$XDG_DATA_HOME/zsh/histfile" HISTSIZE=999999999 SAVEHIST="$HISTSIZE" @@ -152,13 +152,13 @@ case "$SHELL" in PS1="$(printf "%s\n%s\n%s" "$LINE1" "$LINE2" "$LINE3")"; export PS1 plugindir="/usr/share/zsh/plugins" - for plugin in \ + for plugin in \ "$plugindir/zsh-autosuggestions/zsh-autosuggestions.zsh" \ - "$plugindir/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh" \ + "$plugindir/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh" \ "$plugindir/zsh-history-substring-search/zsh-history-substring-search.zsh" do source "$plugin" - done + done bindkey -a 'k' history-substring-search-up bindkey -a 'j' history-substring-search-down