1
0

fixed .profile & install script

This commit is contained in:
Emma Tebibyte 2023-08-28 18:38:46 -06:00
parent de1a55d789
commit 51f4ef09e5
Signed by: emma
GPG Key ID: 6D661C738815E7DD
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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