Browse Source

remove unnecessary subshells

pull/6/head
DanielFGray 4 years ago
parent
commit
5ce5eb44f4
7 changed files with 7 additions and 7 deletions
  1. 1
    1
      fv
  2. 1
    1
      fzmp
  3. 1
    1
      fzmv
  4. 1
    1
      goog
  5. 1
    1
      ix
  6. 1
    1
      pkgsearch
  7. 1
    1
      sshget

+ 1
- 1
fv View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash

declare esc=$(printf '\033')
declare esc=$'\033'
declare c_reset="${esc}[0m"
declare c_red="${esc}[31m"


+ 1
- 1
fzmp View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash

declare -r esc=$(printf '\033')
declare -r esc=$'\033'
declare -r c_reset="${esc}[0m"
declare -r c_red="${esc}[31m"
declare -r config_file="${XDG_CONFIG_DIR:-$HOME/.config}/fzmp/conf"

+ 1
- 1
fzmv View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash

declare esc=$(printf '\033')
declare esc=$'\033'
declare c_reset="${esc}[0m"
declare c_red="${esc}[31m"
declare dryrun verbose

+ 1
- 1
goog View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash

declare esc=$(printf '\033')
declare esc=$'\033'
declare c_reset="${esc}[0m"
declare c_red="${esc}[31m"


+ 1
- 1
ix View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash

declare esc=$(printf '\033')
declare esc=$'\033'
declare c_reset="${esc}[0m"
declare c_red="${esc}[31m"
declare OPTIND

+ 1
- 1
pkgsearch View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash

declare esc=$(printf '\033')
declare esc=$'\033'
declare c_reset="${esc}[0m"
declare c_red="${esc}[31m"
declare c_green="${esc}[32m"

+ 1
- 1
sshget View File

@@ -5,7 +5,7 @@ declare -A domains=()
declare -A paths=()
declare -a files=()

declare esc=$(printf '\033')
declare esc=$'\033'
declare c_reset="${esc}[0m"
declare c_red="${esc}[31m"


Loading…
Cancel
Save