Minor fix-ups and adjustments

This commit is contained in:
2020-10-21 08:34:32 +02:00
parent a0eacf4607
commit bbd23187bc
2 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@
zsh() {
cat <<'EOF'
sdn-navigate () {
# ... possibly zle-line-finish
# optionally: zle zle-line-finish
while eval "`SDN=1 sdn "$BUFFER" "$CURSOR"`"
do
[ -z "$cd" ] || cd "$cd"
@@ -18,7 +18,7 @@ sdn-navigate () {
/bin/sh -c "$helper" </dev/tty || break
done
# ... possibly zle-line-init
# optionally: zle zle-line-init
zle reset-prompt
}
@@ -124,7 +124,7 @@ if [ -z "$shell" ]
then
if [ "$login" != "$actual" ]
then
echo "Conflict between login ($actual) and invoking ($actual) shell."
echo "Conflict between login ($login) and invoking ($actual) shell."
echo "Specify the shell with the -s option."
exit 1
fi