Fixing conflicts
This commit is contained in:
parent
ec89482ea8
commit
c3c6c7850a
3 changed files with 12 additions and 9 deletions
|
|
@ -13,11 +13,6 @@ export PATH="/usr/local/sbin:/usr/sbin:/opt/sbin:/sbin:$PATH"
|
||||||
export VISUAL="$EDITOR"
|
export VISUAL="$EDITOR"
|
||||||
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
||||||
|
|
||||||
# Add bin directories to PATH.
|
|
||||||
[ -d ~/.local/bin ] && export PATH="~/.local/bin:$PATH"
|
|
||||||
[ -d ~/bin ] && export PATH="~/bin:$PATH"
|
|
||||||
[ -d ~/files/bin ] && export PATH="~/files/bin:$PATH"
|
|
||||||
|
|
||||||
# Platform specific set up.
|
# Platform specific set up.
|
||||||
_PLATFORM="$(uname -s)"
|
_PLATFORM="$(uname -s)"
|
||||||
if [ "$_PLATFORM" = "Linux" ]; then
|
if [ "$_PLATFORM" = "Linux" ]; then
|
||||||
|
|
@ -27,12 +22,17 @@ if [ "$_PLATFORM" = "Linux" ]; then
|
||||||
elif [ "$_PLATFORM" = "Darwin" ]; then
|
elif [ "$_PLATFORM" = "Darwin" ]; then
|
||||||
export LSCOLORS="ExGxdxdxCxDxDxbcacbeae"
|
export LSCOLORS="ExGxdxdxCxDxDxbcacbeae"
|
||||||
export MANPATH="/opt/local/share/man:$MANPATH"
|
export MANPATH="/opt/local/share/man:$MANPATH"
|
||||||
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
|
export PATH="/opt/local/sbin:/opt/local/bin:$PATH"
|
||||||
else
|
else
|
||||||
echo "${BASH_SOURCE##*/}: unsupported platform: $_PLATFORM" >&2
|
echo "${BASH_SOURCE##*/}: unsupported platform: $_PLATFORM" >&2
|
||||||
fi
|
fi
|
||||||
unset _PLATFORM
|
unset _PLATFORM
|
||||||
|
|
||||||
|
# Add bin directories to PATH.
|
||||||
|
[ -d ~/files/bin ] && export PATH="~/files/bin:$PATH"
|
||||||
|
[ -d ~/.local/bin ] && export PATH="~/.local/bin:$PATH"
|
||||||
|
[ -d ~/bin ] && export PATH="~/bin:$PATH"
|
||||||
|
|
||||||
# SSH agent.
|
# SSH agent.
|
||||||
hash ssh-add ssh-agent >/dev/null 2>&1 && {
|
hash ssh-add ssh-agent >/dev/null 2>&1 && {
|
||||||
if [ ! -z "$SSH_AUTH_SOCK" ]; then
|
if [ ! -z "$SSH_AUTH_SOCK" ]; then
|
||||||
|
|
|
||||||
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1,2 +1,5 @@
|
||||||
*~
|
*~
|
||||||
*.save
|
*.save
|
||||||
|
NOTES
|
||||||
|
.ssh/id_rsa
|
||||||
|
.ssh/id_ed25519
|
||||||
|
|
|
||||||
|
|
@ -23,9 +23,9 @@ Host *
|
||||||
# AddKeysToAgent yes
|
# AddKeysToAgent yes
|
||||||
ConnectTimeout 30
|
ConnectTimeout 30
|
||||||
# Removed as this prevents use of ^Z suspension.
|
# Removed as this prevents use of ^Z suspension.
|
||||||
# ControlMaster auto
|
# ControlMaster auto
|
||||||
# ControlPath ~/.ssh/%u@%l->%r@%h:%p
|
# ControlPath ~/.ssh/%u@%l->%r@%h:%p
|
||||||
# ControlPersist 7200
|
# ControlPersist 7200
|
||||||
ExitOnForwardFailure yes
|
ExitOnForwardFailure yes
|
||||||
ForwardX11Trusted no
|
ForwardX11Trusted no
|
||||||
SendEnv LANG LC_* TERM
|
SendEnv LANG LC_* TERM
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue