|
@@ -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 |
|
|