diff options
author | typebrook <typebrook@gmail.com> | 2019-12-30 10:52:44 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-12-30 10:52:44 +0800 |
commit | 81fd0ef4ea0fdbf2ca35da303478de9b3e7b8082 (patch) | |
tree | 7eb475cc7d8bf59abb700cd7886b0a635fe0fe30 /alias | |
parent | dd5d376629f23f49aed4926f11386887bdcf2455 (diff) |
update
Diffstat (limited to 'alias')
-rw-r--r-- | alias | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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' | |||
259 | alias cdand='cd ~/git/sample' | 258 | alias cdand='cd ~/git/sample' |
260 | alias cdm='cd ~/git/sharkbig.github.io' | 259 | alias cdm='cd ~/git/sharkbig.github.io' |
261 | 260 | ||
262 | repo='git@github.com' | ||
263 | hub='https://github.com' | ||
264 | typebrook='git@github.com:typebrook' | ||
265 | GITHUB_API='https://api.github.com' | 261 | GITHUB_API='https://api.github.com' |