1
0
Fork 0

Autocommitted updated scripts from blocky-cafe

main
Marissa Staib 5 years ago
parent 5ba8da12ac
commit c4ae5acda8
  1. 8
      bash_aliases.sh

@ -9,6 +9,12 @@ export EDITOR='vim -X'
sock_proxy=$HOME/.ssh/ssh_auth_sock
if [ -S "$(readlink $sock_proxy)" ]; then
SSH_AUTH_SOCK=$sock_proxy
else
(
set +x
eval `ssh-agent -s`
ln -f --symbolic "$SSH_AUTH_SOCK" "$sock_proxy"
)
fi
alias rm="rm -i"
@ -67,7 +73,7 @@ function sync_git_only()
if ! read -p "OK to push these changes? (Y/N) " -N 1 confirm; then
confirm = "N"
fi
if [[ "$confirm" != "Y" ]]; then
if [[ "$confirm" != "Y" ]] && [[ "$confirm" != "y" ]]; then
echo "Not pushing yet."
else
git push

Loading…
Cancel
Save