Browse Source

small changes

pull/1/head
10sr 13 years ago
parent
commit
db4748ee2e
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      .bashrc

+ 4
- 2
.bashrc View File

@@ -131,12 +131,13 @@ di(){
${diffcmd} -u "$@" | ${PAGER} ${diffcmd} -u "$@" | ${PAGER}
} }
memo(){ memo(){
_MEMO="# $*\n"
__MYMEMO="# $*\n"
} }
rmmemo(){ rmmemo(){
_MEMO=""
__MYMEMO=""
} }
throw-away(){ throw-away(){
mkdir -p ~/bu/tb
for file in "$@" for file in "$@"
do do
mv $file ~/bu/tb mv $file ~/bu/tb
@@ -248,6 +249,7 @@ _mygitconfig(){
git config --global alias.di "diff" git config --global alias.di "diff"
git config --global alias.me "merge --no-ff --stat -v" git config --global alias.me "merge --no-ff --stat -v"
git config --global alias.ls "ls-files" git config --global alias.ls "ls-files"
# git config --global alias.my-ls "ls-files | xargs ls"
# git config --global alias.ll "!git ls-files | xargs ls -l -CFG --color=auto --time-style=long-iso" # git config --global alias.ll "!git ls-files | xargs ls -l -CFG --color=auto --time-style=long-iso"
git config --global alias.addi "add -i" git config --global alias.addi "add -i"
if iswindows; then if iswindows; then


Loading…
Cancel
Save