Skip to content

Commit 9a47cbc

Browse files
committed
Stop aborting the entire session
Closes #37
1 parent bee6251 commit 9a47cbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alias-tips.plugin.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ _alias_tips__preexec () {
3232
echo $shell_functions "\n" $git_aliases "\n" $shell_aliases | \
3333
python ${_alias_tips__PLUGIN_DIR}/alias-tips.py $*
3434
ret=$?
35-
if [[ $ret = $force_exit_code ]]; then exit $force_exit_code; fi
35+
if [[ $ret = $force_exit_code ]]; then kill -s INT $$ ; fi
3636
}
3737

3838
autoload -Uz add-zsh-hook

0 commit comments

Comments
 (0)