diff options
Diffstat (limited to 'bin/extra')
-rwxr-xr-x | bin/extra/arr_hjkl | 2 | ||||
-rwxr-xr-x | bin/extra/cht.sh | 8 | ||||
-rwxr-xr-x | bin/extra/colorscript | 2 | ||||
-rwxr-xr-x | bin/extra/cycleKB | 2 | ||||
-rwxr-xr-x | bin/extra/ehbtodl | 2 | ||||
-rwxr-xr-x | bin/extra/vimastp | 2 |
6 files changed, 9 insertions, 9 deletions
diff --git a/bin/extra/arr_hjkl b/bin/extra/arr_hjkl index 0ef542e..d134c78 100755 --- a/bin/extra/arr_hjkl +++ b/bin/extra/arr_hjkl @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh if [ "$(xmodmap -pke | grep ' = h')" ] then diff --git a/bin/extra/cht.sh b/bin/extra/cht.sh index 7cd4892..681fc69 100755 --- a/bin/extra/cht.sh +++ b/bin/extra/cht.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # shellcheck disable=SC1117,SC2001 # # [X] open section @@ -234,13 +234,13 @@ EOF if CHEATSH_TEST_STANDALONE=YES \ CHEATSH_TEST_SKIP_ONLINE=NO \ CHEATSH_TEST_SHOW_DETAILS=NO \ - PYTHON=../ve/bin/python bash run-tests.sh | tee -a "$LOG" + PYTHON=../ve/bin/python sh run-tests.sh | tee -a "$LOG" then printf "\033[0;32m%s\033[0m\n" "SUCCESS" else printf "\033[0;31m%s\033[0m\n" "FAILED" echo "Some tests were failed. Run the tests manually for further investigation:" - echo " cd $PWD; bash run-tests.sh)" + echo " cd $PWD; sh run-tests.sh)" fi ) @@ -773,7 +773,7 @@ while true; do fi input=$( - rlwrap -H "$CHTSH_HOME/history" -pgreen -C cht.sh -S "$full_prompt" bash "$0" --read | sed 's/ *#.*//' + rlwrap -H "$CHTSH_HOME/history" -pgreen -C cht.sh -S "$full_prompt" sh "$0" --read | sed 's/ *#.*//' ) cmd_name=${input%% *} diff --git a/bin/extra/colorscript b/bin/extra/colorscript index 90dacb1..ad74d67 100755 --- a/bin/extra/colorscript +++ b/bin/extra/colorscript @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh counter=0 var1="$(seq 30 38)" diff --git a/bin/extra/cycleKB b/bin/extra/cycleKB index 5674786..e2cb19d 100755 --- a/bin/extra/cycleKB +++ b/bin/extra/cycleKB @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env sh keyboards_file="/home/aluc/bin/keyboards.txt" cur_keyboard="$(setxkbmap -print | grep "xkb_symbols" | cut -f 2 -d "+")" # Get line number of match diff --git a/bin/extra/ehbtodl b/bin/extra/ehbtodl index 39d8621..df11797 100755 --- a/bin/extra/ehbtodl +++ b/bin/extra/ehbtodl @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env sh echo "$1" | sed 's/-H/\\\n\t&/g' | sed '/gzip/d' > /tmp/curlcommand.sh sh /tmp/curlcommand.sh > /tmp/ehbso.html vids="$(grep -oE "youtube\.com/embed/.{11}" /tmp/ehbso.html | cut -d'/' -f 3 | tr '\n' ' ')" diff --git a/bin/extra/vimastp b/bin/extra/vimastp index f4ae6b5..28e00a3 100755 --- a/bin/extra/vimastp +++ b/bin/extra/vimastp @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env sh for var in name vcpus memory cdrom disk_size osinfo do read -p "${var}:" "$var" |