mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
bash: reverse % + clear incomplete line a la zsh
This commit is contained in:
parent
d7189d263e
commit
37ce373989
2 changed files with 20 additions and 1 deletions
4
bash/rc
4
bash/rc
|
|
@ -7,7 +7,9 @@ source $DOTFILES_BASH_DIR/history
|
|||
source $DOTFILES_BASH_DIR/term_title
|
||||
source $DOTFILES_BASH_DIR/completion
|
||||
|
||||
PROMPT_COMMAND="set_prompt; set_term_title;"
|
||||
PROMPT_COMMAND="set_prompt;"
|
||||
PROMPT_COMMAND+="set_term_title;"
|
||||
PROMPT_COMMAND+="clear_incomplete_line;"
|
||||
|
||||
# Make bash check its window size after a process completes
|
||||
shopt -s checkwinsize
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue