Skip to content

Commit a5beb28

Browse files
committed
Fix a few tiny things
1 parent 0cda0ef commit a5beb28

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

security/clear_history.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
set -eu
2+
set -euo pipefail
33

44
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
55
REPO_DIR="$(dirname "${SCRIPT_DIR}")"
@@ -15,7 +15,5 @@ python3 "${REPO_DIR}/maintenance.py" --bleachbit-only
1515
sync
1616
echo 3 | sudo tee /proc/sys/vm/drop_caches
1717

18-
# TODO: Add BleachBit here
19-
2018
# TRIM free disk space
2119
fstrim -a -v

zsh/custom/utils.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ replacerec() {
102102
# https://superuser.com/questions/422459/substitution-in-text-file-without-regular-expressions
103103
# https://stackoverflow.com/questions/1583219/how-to-do-a-recursive-find-replace-of-a-string-with-awk-or-sed
104104
if [ $# -ne 3 ]; then
105-
echo "replacerec: Find and replace text recursicely. Unlike 'sed' it does not try to match special symbols with regex."
105+
echo "replacerec: Find and replace text recursively. Unlike 'sed' it does not try to match special symbols with regex."
106106
echo "Usage: replacerec <old-text> <new-text> <filter>"
107107
echo "Example: replacerec '(^_^)' ':D' '*.txt'"
108108
else

0 commit comments

Comments
 (0)