[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65604: [PATCH] Display the exit code if the last command failed in E
From: |
Davide Masserut |
Subject: |
bug#65604: [PATCH] Display the exit code if the last command failed in Eshell |
Date: |
Wed, 30 Aug 2023 00:24:28 +0200 |
Tags: patch
There are commands that fail without printing any messages, but
set specific error codes.
This patch extends the default prompt function to show the exit
code of the previous failed command.
Before:
~ $ false
~ $
After:
~ $ false
~ [1] $
I believe this is a good default, since it is displayed only when
a error occurs and hopefully makes debugging easier by showing the
error code without further input.
In GNU Emacs 30.0.50 (build 10, x86_64-pc-linux-gnu, GTK+ Version
3.24.38, cairo version 1.17.8) of 2023-08-29 built on T480s
Repository revision: ed77dc17f657d99ccf23778c14f06f7226f478f0
Repository branch: master
System Description: Arch Linux
Configured using:
'configure -C --prefix /home/davide/.local --with-pgtk
--with-native-compilation --enable-link-time-optimization
--enable-locallisppath=/usr/share/emacs/site-lisp/
'CFLAGS=-march=native -O2''
0001-Display-the-exit-code-if-the-last-command-failed-in-.patch
Description: Text Data
- bug#65604: [PATCH] Display the exit code if the last command failed in Eshell,
Davide Masserut <=
- bug#65604: [PATCH] Display the exit code if the last command failed in Eshell, Jim Porter, 2023/08/29
- bug#65604: [PATCH] Display the exit code if the last command failed in Eshell, Davide Masserut, 2023/08/30
- bug#65604: [PATCH] Display the exit code if the last command failed in Eshell, Davide Masserut, 2023/08/30
- bug#65604: [PATCH] Display the exit code if the last command failed in Eshell, Eshel Yaron, 2023/08/30
- bug#65604: [PATCH] Display the exit code if the last command failed in Eshell, Eli Zaretskii, 2023/08/30
- bug#65604: [PATCH] Display the exit code if the last command failed in Eshell, Eli Zaretskii, 2023/08/30
- bug#65604: [PATCH] Display the exit code if the last command failed in Eshell, Davide Masserut, 2023/08/30
- bug#65604: [PATCH] Display the exit code if the last command failed in Eshell, Eli Zaretskii, 2023/08/30
- bug#65604: [PATCH] Display the exit code if the last command failed in Eshell, Davide Masserut, 2023/08/30
- bug#65604: [PATCH] Display the exit code if the last command failed in Eshell, Davide Masserut, 2023/08/30