diff options
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' |