From 0f8e52bae1efb36cc67f81be46cc3bfd4bfd1431 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Wed, 3 Apr 2024 10:41:44 +0530 Subject: [PATCH] fish: functions/vb: Do not run the next command on failure --- fish/.config/fish/functions/vb.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fish/.config/fish/functions/vb.fish b/fish/.config/fish/functions/vb.fish index a524eb4..3f2ca82 100644 --- a/fish/.config/fish/functions/vb.fish +++ b/fish/.config/fish/functions/vb.fish @@ -1,5 +1,5 @@ function vb --description 'Build helper for neovim' - make distclean && make CC=gcc CMAKE_BUILD_TYPE=Release - doas rm -rf /usr/local/share/nvim/runtime/ + make distclean && make CC=gcc CMAKE_BUILD_TYPE=Release && \ + doas rm -rf /usr/local/share/nvim/runtime/ && \ doas make install end