Changeset a53ff5b in lab.git for TipAndDoc


Ignore:
Timestamp:
Apr 14, 2018 5:44:50 PM (6 years ago)
Author:
Ken-ichi Mito <mitty@…>
Branches:
master
Children:
3c848da
Parents:
ddb1335
Message:

update bashrc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TipAndDoc/.bashrc

    rddb1335 ra53ff5b  
    44export PAGER=less 
    55export LESS='-FRX -i -P ?f%f:(stdin).  ?lb%lb?L/%L..  [?eEOF:?pb%pb\%..]' 
    6  
    7 HISTSIZE=50000 
    8 HISTFILESIZE=50000 
    96 
    107set -o notify   # notify end of background job immediately 
     
    3431fi 
    3532 
     33agent="$HOME/.ssh/ssh-agent-$USER" 
     34if [ -S "$SSH_AUTH_SOCK" ]; then 
     35    case $SSH_AUTH_SOCK in 
     36    /tmp/*/agent.[0-9]*) 
     37        ln -snf "$SSH_AUTH_SOCK" $agent && export SSH_AUTH_SOCK=$agent 
     38    esac 
     39elif [ -S $agent ]; then 
     40    export SSH_AUTH_SOCK=$agent 
     41else 
     42    echo "no ssh-agent" 
     43fi 
     44 
     45if [ -d "$HOME/bin" ]; then 
     46    PATH="$HOME/bin:$PATH" 
     47fi 
     48 
    3649alias vi='vim' 
    3750alias sudo='sudo -H ' 
Note: See TracChangeset for help on using the changeset viewer.