aboutsummaryrefslogtreecommitdiffhomepage
path: root/alias
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-12-30 10:52:44 +0800
committertypebrook <typebrook@gmail.com>2019-12-30 10:52:44 +0800
commit81fd0ef4ea0fdbf2ca35da303478de9b3e7b8082 (patch)
tree7eb475cc7d8bf59abb700cd7886b0a635fe0fe30 /alias
parentdd5d376629f23f49aed4926f11386887bdcf2455 (diff)
update
Diffstat (limited to 'alias')
-rw-r--r--alias6
1 files changed, 1 insertions, 5 deletions
diff --git a/alias b/alias
index 31da894..5a481c3 100644
--- a/alias
+++ b/alias
@@ -36,8 +36,7 @@ prompt() {
36 TMPFILE=$(mktemp); echo $1 > $TMPFILE && \ 36 TMPFILE=$(mktemp); echo $1 > $TMPFILE && \
37 vim $TMPFILE && \ 37 vim $TMPFILE && \
38 sed -i '$ q; s/$/ \\/' $TMPFILE && \ 38 sed -i '$ q; s/$/ \\/' $TMPFILE && \
39 cat $TMPFILE && \ 39 eval $(cat $TMPFILE | tee /dev/tty)
40 eval $(cat $TMPFILE)
41} 40}
42 41
43# package 42# package
@@ -259,7 +258,4 @@ alias cdT='cd ~/git/taiwan-topo'
259alias cdand='cd ~/git/sample' 258alias cdand='cd ~/git/sample'
260alias cdm='cd ~/git/sharkbig.github.io' 259alias cdm='cd ~/git/sharkbig.github.io'
261 260
262repo='git@github.com'
263hub='https://github.com'
264typebrook='git@github.com:typebrook'
265GITHUB_API='https://api.github.com' 261GITHUB_API='https://api.github.com'