Commit 54a8fa01 authored by Per Bothner's avatar Per Bothner

Tweak to bash and zsh scripts.

parent 76c72228
#source /home/bothner/DomTerm/tools/bash-preexec.sh
thisfile="$BASH_SOURCE"
case "$thisfile" in
"") echo "installation error - can't find path to $0"; exit -1 ;;
/*) ;;
*) thisfile="$PWD/$thisfile" ;;
esac
while test -L "$thisfile"; do thisfile=$(readlink -f "$thisfile"); done
source `dirname "$thisfile"`/bash-preexec.sh
_prompt_executing=""
function __prompt_precmd() {
local ret="$?"
......
#PS1='\[\e]133;P\a\]'$PS1'\[\e]133;B\a\e]122;> \a\]'
#PS1='\[\e]133]A;repaint;aid='"$BASHPID"'\a\e]133;P\a\]'$PS1'\[\e]133;B\a\e]122;> \a\]'
_prompt_executing=""
function __prompt_precmd() {
local ret="$?"
......
......@@ -326,9 +326,10 @@ it doesn't have a way to specify a marker.
## Bash shell
If you use [the Bourne-Again SHell (bash)](https://www.gnu.org/software/bash/)
use [this initialization script](./prompts-data/shell-integration.bash).
`source` [this initialization script](./prompts-data/shell-integration.bash).
It depends on the [bash-preexec.sh script](./prompts-data/bash-preexec.sh)
from [this site](https://github.com/rcaloras/bash-preexec).
from [this site](https://github.com/rcaloras/bash-preexec),
which you should `source` first.
Bash has very limited support for multi-line input editing.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment