Skip to content

Commit b6dafc1

Browse files
committedFeb 8, 2023
refactor: remove bash shebang from all files
1 parent f118e4c commit b6dafc1

File tree

19 files changed

+0
-37
lines changed

19 files changed

+0
-37
lines changed
 

‎colors.sh

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/bin/bash
21
# shellcheck disable=SC2034
32

43
# Colors

‎main.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/bash
2-
31
export SF_PATH=~/.shell-fns
42
export SF_PLUGINS_PATH=$SF_PATH/plugins
53
export SF_WARNS=()

‎plugins/gh/gh.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/bash
2-
31
if ! is_bin_in_path gh; then
42
SF_WARNS+=("[gh plugin]: $(__sf_missing_binary_message 'gh')")
53
return

‎plugins/gh_gist/gh_gist.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/bash
2-
31
if ! is_bin_in_path gh; then
42
SF_WARNS+=("[gh_gist plugin]: $(__sf_missing_binary_message 'gh')")
53
return

‎plugins/gh_issue/gh_issue.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/bash
2-
31
if ! is_bin_in_path gh; then
42
SF_WARNS+=("[gh_issue plugin]: $(__sf_missing_binary_message 'gh')")
53
return

‎plugins/gh_pr/gh_pr.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/bash
2-
31
if ! is_bin_in_path gh; then
42
SF_WARNS+=("[gh_issue plugin]: $(__sf_missing_binary_message 'gh')")
53
return

‎plugins/gh_release/gh_release.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/bash
2-
31
if ! is_bin_in_path gh; then
42
SF_WARNS+=("[gh_issue plugin]: $(__sf_missing_binary_message 'gh')")
53
return

‎plugins/gh_repo/gh_repo.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/bash
2-
31
if ! is_bin_in_path gh; then
42
SF_WARNS+=("[gh_issue plugin]: $(__sf_missing_binary_message 'gh')")
53
return

‎plugins/git/git.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/bash
2-
31
#
42
# FUNCTIONS
53
#

‎plugins/neovim/neovim.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/bash
2-
31
if ! is_bin_in_path nvim; then
42
SF_WARNS+=("[neovim plugin]: $(__sf_missing_binary_message 'nvim')")
53
return

‎plugins/npm/npm.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/bash
2-
31
if ! is_bin_in_path node; then
42
SF_WARNS+=("[npm plugin]: $(__sf_missing_binary_message 'nodejs')")
53
return

‎plugins/nvm/nvm.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/bash
2-
31
if ! is_bin_in_path nvm; then
42
SF_WARNS+=("[nvm plugin]: $(__sf_missing_binary_message 'nvm')")
53
return

‎plugins/nvm_win/nvm_win.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/bash
2-
31
if ! is_bin_in_path nvm; then
42
SF_WARNS+=("[nvm_win plugin]: $(__sf_missing_binary_message 'nvm')")
53
return

‎plugins/pip/pip.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/bash
2-
31
if ! is_bin_in_path python; then
42
SF_WARNS+=("[pip plugin]: $(__sf_missing_binary_message 'python')")
53
return

‎plugins/pnpm/pnpm.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/bash
2-
31
if ! is_bin_in_path pnpm; then
42
SF_WARNS+=("[pnpm plugin]: $(__sf_missing_binary_message 'pnpm')")
53
return

‎plugins/scoop/scoop.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/bash
2-
31
if ! is_bin_in_path scoop; then
42
SF_WARNS+=("[scoop plugin]: $(__sf_missing_binary_message 'scoop')")
53
return

‎plugins/vitejs/vitejs.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/bash
2-
31
if ! is_bin_in_path node; then
42
SF_WARNS+=("[vitejs plugin]: $(__sf_missing_binary_message 'nodejs')")
53
return

‎plugins/wezterm/wezterm.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/bash
2-
31
if ! is_bin_in_path wezterm; then
42
SF_WARNS+=("[wezterm plugin]: $(__sf_missing_binary_message 'wezterm')")
53
return

‎utils.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/bash
2-
31
# shellcheck source=colors.sh
42
source "$SF_PATH"/colors.sh
53

0 commit comments

Comments
 (0)
Please sign in to comment.