Skip to content

Commit

Permalink
update .bashrc mklink
Browse files Browse the repository at this point in the history
  • Loading branch information
afeiship committed Jul 15, 2016
1 parent 36f23c7 commit 93dce2a
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 5 deletions.
4 changes: 4 additions & 0 deletions src/.bashrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash

#test by fei:
source /d/github/fei-windows-bash/src/index.sh;
1 change: 1 addition & 0 deletions src/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry=https://registry.npm.taobao.org
4 changes: 2 additions & 2 deletions src/base/bash-aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ alias alias-reload='source ~/.bashrc';
alias e-alias='vim ~/.bashrc';

##cd
alias cd-git='cd /e/github';
alias cd-osc='cd /e/git-oschina';
alias cd-git='cd /d/github';
alias cd-osc='cd /d/git-oschina';
2 changes: 1 addition & 1 deletion src/base/index.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
source /e/github/fei-windows-bash/src/base/bash-aliases.sh;
source /d/github/fei-windows-bash/src/base/bash-aliases.sh;
2 changes: 1 addition & 1 deletion src/git/git_aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ alias gx='gitx --all';


##quick commit:
alias gg='/e/github/fei-windows-bash/src/git/git_quick_commit.sh';
alias gg='/d/github/fei-windows-bash/src/git/git_quick_commit.sh';
alias ggg='gaa && gcm "Auto quick commit~" && gp';
2 changes: 1 addition & 1 deletion src/git/index.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
source /e/github/fei-windows-bash/src/git/git_aliases.sh;
source /d/github/fei-windows-bash/src/git/git_aliases.sh;
3 changes: 3 additions & 0 deletions src/initial_bash.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@
# set-executionpolicy remotesigned
# http://www.xuebuyuan.com/489960.html




& 'C:\Program Files\Git\bin\bash.exe';
1 change: 1 addition & 0 deletions src/mklink/init.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mklink %HOMEPATH%\.npmrc d:\github\fei-windows-bash\src\.npmrc

0 comments on commit 93dce2a

Please sign in to comment.