summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-10-21 08:34:32 +0200
committerPřemysl Eric Janouch <p@janouch.name>2020-10-21 08:34:32 +0200
commitbbd23187bc26494b92da49307b3b4aae099d1dae (patch)
treeea64c4e15d0d00d65d7974d3df78b67bc3320c0f
parenta0eacf4607f0262f6c3bb6ddf84113253b76d477 (diff)
downloadsdn-bbd23187bc26494b92da49307b3b4aae099d1dae.tar.gz
sdn-bbd23187bc26494b92da49307b3b4aae099d1dae.tar.xz
sdn-bbd23187bc26494b92da49307b3b4aae099d1dae.zip
Minor fix-ups and adjustments
-rw-r--r--README.adoc2
-rwxr-xr-xsdn-install6
2 files changed, 4 insertions, 4 deletions
diff --git a/README.adoc b/README.adoc
index 9c162a6..005cd2f 100644
--- a/README.adoc
+++ b/README.adoc
@@ -48,7 +48,7 @@ into the PATH of any machine you want to have 'sdn' on.
Integration
-----------
The package contains an installation script called 'sdn-install' which will bind
-'sdn' to M-o in your shell's initialisation file. The supported shells are:
+'sdn' to Alt-o in your shell's initialisation file. The supported shells are:
- *zsh*: works well
- *bash*: minor issue: exiting the navigator confirms an empty prompt
diff --git a/sdn-install b/sdn-install
index 954b061..5ddfc39 100755
--- a/sdn-install
+++ b/sdn-install
@@ -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