From c0e63f9af4234db498490249328fd9d5087b8ecf Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Tue, 4 Jun 2019 22:16:43 -0400 Subject: [PATCH] [bash] 4 space indent (no functional changes) --- bash/aliases | 8 ++++---- bash/bash_prompt | 2 +- bash/bashrc | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bash/aliases b/bash/aliases index 5eafd5a..33a3e94 100644 --- a/bash/aliases +++ b/bash/aliases @@ -2,9 +2,9 @@ # Detect which `ls` flavor is in use if ls --color > /dev/null 2>&1; then # GNU `ls` - colorflag="--color" + colorflag="--color" else # macOS `ls` - colorflag="-G" + colorflag="-G" fi # ls aliases @@ -43,8 +43,8 @@ fi # Alias vim / vi to nvim if there if [ -x "$(command -v nvim)" ]; then - alias vi="nvim" - alias vim="nvim" + alias vi="nvim" + alias vim="nvim" fi # Other Aliases diff --git a/bash/bash_prompt b/bash/bash_prompt index 9bfb318..e24cf54 100644 --- a/bash/bash_prompt +++ b/bash/bash_prompt @@ -23,7 +23,7 @@ function parse_git_dirty() { } function parse_git_branch() { - git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e "s/* \(.*\)/\1$(parse_git_dirty)/" + git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e "s/* \(.*\)/\1$(parse_git_dirty)/" } function get_error_code() { diff --git a/bash/bashrc b/bash/bashrc index 053227d..b84e3c5 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -28,10 +28,10 @@ function ff { # $EDITOR, the most important export of course if [ -x "$(command -v nvim)" ]; then - export EDITOR="nvim" - export MANPAGER="nvim -u NORC -c 'set ft=man' -" + export EDITOR="nvim" + export MANPAGER="nvim -u NORC -c 'set ft=man' -" else - export EDITOR="vim" + export EDITOR="vim" fi # Source helper files, both mine and other's -- libgit2 0.28.4