commit c0e63f9af4234db498490249328fd9d5087b8ecf (patch)
parent d50a8d3f63f1e1bfef8fdc8b46d36e4dfad62586
Author: Alex Karle <alex@karle.co>
Date: Tue, 4 Jun 2019 22:16:43 -0400
[bash] 4 space indent (no functional changes)
Diffstat:
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git 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
@@ -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
@@ -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