Skip to content

Commit

Permalink
ensure all scripts use bash -e
Browse files Browse the repository at this point in the history
  • Loading branch information
albertodonato committed Feb 4, 2024
1 parent 091e00a commit 8730fce
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 21 deletions.
2 changes: 1 addition & 1 deletion bin/decrypt-p7m
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -e

file="$1"

Expand Down
2 changes: 1 addition & 1 deletion bin/git-alias
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -e
# shellcheck disable=SC2039
#
# Manage git aliases.
Expand Down
2 changes: 1 addition & 1 deletion bin/git-update-origin-from-upstream
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -e
# shellcheck disable=SC2039
#
# Fetch remotes and and update a branch (master by default) from the upstream
Expand Down
2 changes: 1 addition & 1 deletion bin/list-kernels
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -e
#
# List installed kernel packages.

Expand Down
2 changes: 1 addition & 1 deletion bin/pb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -e
#
# Pastebinit input and copies the resulting url to clipboard (if under tmux).
#
Expand Down
2 changes: 1 addition & 1 deletion bin/port-forward
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -e
#
# Forward ports to the specified host using ssh tunneling.

Expand Down
2 changes: 1 addition & 1 deletion bin/term-colors
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -e
# shellcheck disable=SC1117
#
# Print the 256 terminal colors.
Expand Down
14 changes: 0 additions & 14 deletions bin/ws

This file was deleted.

0 comments on commit 8730fce

Please sign in to comment.