summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2021-10-16 11:18:17 +0200
committerMarc Vertes <mvertes@free.fr>2021-10-16 11:18:17 +0200
commite27491fbca20c2ecd76fcd84bd7007a546da5a75 (patch)
tree84d6e2799f9c1bf89aa616c4c0e656988dbcf751
parente70107cb6a2f1fe17b848c43774b4e946749ea23 (diff)
update
-rw-r--r--.bashrc4
-rw-r--r--.profile5
2 files changed, 7 insertions, 2 deletions
diff --git a/.bashrc b/.bashrc
index b50da1b..0a03cf8 100644
--- a/.bashrc
+++ b/.bashrc
@@ -50,7 +50,7 @@ alias view='vim -R'
alias ldd='otool -L'
alias ibrew='arch -x86_64 /usr/local/bin/brew'
#alias op='xdg-open'
-alias git='hub'
+#alias git='hub'
#alias go='go1.14.1'
#alias go11='go1.11.13'
#alias go12='go1.12.10'
@@ -64,7 +64,7 @@ alias gtb='go test -v -cpuprofile cpu.out -memprofile mem.out -benchmem -bench'
alias rvi='sudo vim'
alias rxt='sudo xt'
alias rxvi='sudo xvi'
-alias ww='vi ~/Wiki/HomePage'
+alias ww='vi ~/Wiki/home_page.md'
alias dotfiles='git --git-dir=$HOME/dotfiles --work-tree=$HOME'
#alias uc='systemctl --user'
diff --git a/.profile b/.profile
index bbf3c42..983092c 100644
--- a/.profile
+++ b/.profile
@@ -2,6 +2,11 @@
PATH=~/bin:/opt/homebrew/bin:$PATH:~/go/bin:~/.cargo/bin
+if [ -z "$SSH_AUTH_SOCK" ] ; then
+ eval `ssh-agent -s`
+ ssh-add
+fi
+
[ "${SHELL##*/}" = bash ] && . ~/.bashrc
# Last action: auto start X11 when logged on first console