Skip to content

Commit 26e0216

Browse files
committed
UPDATED: shellcheck adding shebangs and scaping quotes in h feature h.dat.sh
1 parent 0ed0429 commit 26e0216

File tree

6 files changed

+6
-1
lines changed

6 files changed

+6
-1
lines changed

data/core/customizer_options.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env bash
12
# The following options are the default options of the customizer. Uncomment and change the declaration of the variables
23
# to change the default behaviour of the customizer
34

data/features/h/h.dat.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
h_name="Function h"
4-
h_description="Search in your history for previous commands entered, stands by history | grep "$@""
4+
h_description="Search in your history for previous commands entered, stands by history | grep \"$@\""
55
h_version="1.0"
66
h_systemcategories=("System" "Utility")
77
h_tags=("bashfunctions" "terminal" "info")

src/core/subsystems/activate_hooks.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env bash
12
# Activate customizer hooks to enforce repository rules
23
# Check if git is installed
34
if which git &>/dev/null; then

src/core/subsystems/favorites.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env bash
12
# - Description: This functions is the basic piece of the favorites subsystem, but is not a function that it is
23
# executed directly, instead, is put in the bashrc and reads the file $PROGRAM_FAVORITES_PATH every time a terminal
34
# is invoked. This function and its necessary files such as $PROGRAM_FAVORITES_PATH are always present during the

src/core/subsystems/init.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env bash
12
# Shellcheck thinks you are comparing two strings, but we expand using the euro.
23
# shellcheck disable=SC2050
34
if [ "€{OS_NAME}" != "WSL2" ]; then

src/core/subsystems/keybindings.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env bash
12
# https://askubuntu.com/questions/597395/how-to-set-custom-keyboard-shortcuts-from-terminal
23
# - Description: This function is the basic piece of the keybinding subsystem, but is not a function that it is
34
# executed directly, instead, is put in the bashrc and reads the file $PROGRAM_KEYBINDINGS_PATH every time a terminal

0 commit comments

Comments
 (0)