fixed .profile & install script
This commit is contained in:
parent
de1a55d789
commit
51f4ef09e5
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user