aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
mode:
Diffstat (limited to '%HOME%')
-rw-r--r--%HOME%/.bash_profile4
-rw-r--r--%HOME%/.bashrc10
-rw-r--r--%HOME%/.gitconfig2
3 files changed, 8 insertions, 8 deletions
diff --git a/%HOME%/.bash_profile b/%HOME%/.bash_profile
index 38b23f3..91b1d50 100644
--- a/%HOME%/.bash_profile
+++ b/%HOME%/.bash_profile
@@ -5,9 +5,9 @@ echo "Welcome to $( hostname )"
spawn_ssh_agent() {
[ -n "${SSH_AGENT_PID:+x}" ] && return 0
- command -v ssh-agent &> /dev/null \
+ command -v ssh-agent &> /dev/null \
&& eval "$( ssh-agent -s )" > /dev/null \
- && [ -n "${SSH_AGENT_PID:+x}" ] \
+ && [ -n "${SSH_AGENT_PID:+x}" ] \
&& trap "$( printf 'kill %q' "$SSH_AGENT_PID" )" 0
}
diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc
index dbaae9b..24b6618 100644
--- a/%HOME%/.bashrc
+++ b/%HOME%/.bashrc
@@ -42,11 +42,11 @@ update_ruby_settings() {
local user_dir
local bin_dir
- command -v ruby &> /dev/null \
- && command -v gem &> /dev/null \
- && user_dir="$( ruby -e 'print Gem.user_dir' )" \
- && export GEM_HOME="$user_dir" \
- && bin_dir="$( ruby -e 'puts Gem.bindir' )" \
+ command -v ruby &> /dev/null \
+ && command -v gem &> /dev/null \
+ && user_dir="$( ruby -e 'puts Gem.user_dir' )" \
+ && export GEM_HOME="$user_dir" \
+ && bin_dir="$( ruby -e 'puts Gem.bindir' )" \
&& add_path "$bin_dir"
}
diff --git a/%HOME%/.gitconfig b/%HOME%/.gitconfig
index 367c3f4..7ca7afd 100644
--- a/%HOME%/.gitconfig
+++ b/%HOME%/.gitconfig
@@ -26,6 +26,6 @@
clean-unknown = clean -fd
l = log --oneline
wdiff = diff --word-diff
- xx = update-index --chmod=+x
+ xx = update-index --add --chmod=+x
[fetch]
prune = true