aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-12-07 15:47:22 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2022-12-07 15:47:22 +0100
commit6c650e4fce5ab1c6488f120a80c2400d8972fffa (patch)
tree114554f2bde41f6fb9a69b7ce13c3fb2545b1326
parentgdb: increase history size (diff)
downloadlinux-home-6c650e4fce5ab1c6488f120a80c2400d8972fffa.tar.gz
linux-home-6c650e4fce5ab1c6488f120a80c2400d8972fffa.zip
fix preludes in bash scripts
Diffstat (limited to '')
-rwxr-xr-x%HOME%/.config/nnn/plugins/myfzcd1
-rwxr-xr-xfix_permissions.sh1
-rwxr-xr-xvim_solarized.sh1
3 files changed, 3 insertions, 0 deletions
diff --git a/%HOME%/.config/nnn/plugins/myfzcd b/%HOME%/.config/nnn/plugins/myfzcd
index 36bfb24..30b5ebe 100755
--- a/%HOME%/.config/nnn/plugins/myfzcd
+++ b/%HOME%/.config/nnn/plugins/myfzcd
@@ -3,6 +3,7 @@
# Like the fzcd plugin, but better.
set -o errexit -o pipefail
+shopt -s inherit_errexit lastpipe
if command -v fzf > /dev/null 2>&1; then
sel="$( fzf )"
diff --git a/fix_permissions.sh b/fix_permissions.sh
index 331bdc8..d8e6476 100755
--- a/fix_permissions.sh
+++ b/fix_permissions.sh
@@ -8,6 +8,7 @@
# for every file in this repository.
set -o errexit -o nounset -o pipefail
+shopt -s inherit_errexit lastpipe
script_dir="$( dirname -- "${BASH_SOURCE[0]}" )"
script_dir="$( cd -- "$script_dir" && pwd )"
diff --git a/vim_solarized.sh b/vim_solarized.sh
index b6ecc91..fc5f20d 100755
--- a/vim_solarized.sh
+++ b/vim_solarized.sh
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
+shopt -s inherit_errexit lastpipe
plugins_dir="$HOME/.vim/pack/plugins/start"
name='vim-colors-solarized'