diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-07-10 16:00:59 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-07-10 16:00:59 -0400 |
commit | 5120b108ca2dcd78db519226516e071aca7b81d0 (patch) | |
tree | bd2d471d4e16b757b0dac2a7fc470b5caacfb5eb /config | |
parent | 7946924e237e059bb1b8ca311824042f69396e66 (diff) | |
download | conf-5120b108ca2dcd78db519226516e071aca7b81d0.tar.gz conf-5120b108ca2dcd78db519226516e071aca7b81d0.zip |
shfmt everything
Diffstat (limited to 'config')
-rw-r--r-- | config/sh/aliases | 4 | ||||
-rw-r--r-- | config/sh/env | 6 | ||||
-rw-r--r-- | config/sh/functions | 2 | ||||
-rw-r--r-- | config/zsh/local-completions/hornet/_sv | 1 |
4 files changed, 7 insertions, 6 deletions
diff --git a/config/sh/aliases b/config/sh/aliases index 97a1457..cc6c8a6 100644 --- a/config/sh/aliases +++ b/config/sh/aliases @@ -6,8 +6,8 @@ alias rm="rm -i" alias cp="cp -i" alias mv="mv -i" alias bc="bc -lq" -type forkprove > /dev/null 2>&1 && alias prove="forkprove" -type tput > /dev/null 2>&1 && alias reset="tput reset" +type forkprove >/dev/null 2>&1 && alias prove="forkprove" +type tput >/dev/null 2>&1 && alias reset="tput reset" # }}} # games {{{ alias nao="ssh nethack@alt.org" diff --git a/config/sh/env b/config/sh/env index bc0bc9c..9887d1d 100644 --- a/config/sh/env +++ b/config/sh/env @@ -9,7 +9,7 @@ if [ -x "$ssh" ]; then export GIT_SSH="$ssh" export RSYNC_RSH="$ssh" fi -if type sudo-askpass > /dev/null 2>&1; then +if type sudo-askpass >/dev/null 2>&1; then SUDO_ASKPASS=$(command -v sudo-askpass) export SUDO_ASKPASS fi @@ -20,7 +20,7 @@ export FZF_DEFAULT_OPTS="--reverse --inline-info --bind=tab:down,shift-tab:up,ch export FZF_DEFAULT_COMMAND="ag --hidden -l ." export FANCY_PROMPT_COLORS="user_doy=bright_blue,host_st-doy2=bright_white,host_tozt=bright_yellow,host_partofme=magenta,host_mail=green,host_hornet=red" export PASSWORD_STORE_X_SELECTION=primary -type brew > /dev/null 2>&1 && export PATH="/usr/local/opt/coreutils/libexec/gnubin:/usr/local/opt/findutils/libexec/gnubin:/usr/local/sbin:$PATH" -type brew > /dev/null 2>&1 && export MANPATH="/usr/local/opt/coreutils/libexec/gnuman:/usr/local/opt/findutils/libexec/gnuman:$MANPATH" +type brew >/dev/null 2>&1 && export PATH="/usr/local/opt/coreutils/libexec/gnubin:/usr/local/opt/findutils/libexec/gnubin:/usr/local/sbin:$PATH" +type brew >/dev/null 2>&1 && export MANPATH="/usr/local/opt/coreutils/libexec/gnuman:/usr/local/opt/findutils/libexec/gnuman:$MANPATH" # vim:ft=sh: diff --git a/config/sh/functions b/config/sh/functions index a662f2d..76db947 100644 --- a/config/sh/functions +++ b/config/sh/functions @@ -1,6 +1,6 @@ function perldoc { # XXX bash specific - if type cpandoc > /dev/null 2>&1; then + if type cpandoc >/dev/null 2>&1; then cpandoc "$@" else command perldoc "$@" diff --git a/config/zsh/local-completions/hornet/_sv b/config/zsh/local-completions/hornet/_sv index b67ef08..218e95f 100644 --- a/config/zsh/local-completions/hornet/_sv +++ b/config/zsh/local-completions/hornet/_sv @@ -6,4 +6,5 @@ service_list=(${(f)services}) _describe 'commands' service_list +# shfmt:skip (shfmt doesn't recognize zsh array expansion) # vim:ft=zsh |