aboutsummaryrefslogtreecommitdiffhomepage
path: root/alias
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-12-23 13:21:10 +0800
committertypebrook <typebrook@gmail.com>2019-12-23 13:21:10 +0800
commitb747017036f18b3dfc98f363233a53bba4b95143 (patch)
tree4cb6f99a2fa86b659cee01c228c5b69625c86233 /alias
parentae8137eb9d5e7323412d561a76f58b556f2dafa7 (diff)
update
Diffstat (limited to 'alias')
-rw-r--r--alias3
1 files changed, 2 insertions, 1 deletions
diff --git a/alias b/alias
index a69307d..f3fe1da 100644
--- a/alias
+++ b/alias
@@ -71,7 +71,7 @@ alias ce='crontab -e'
71# ranger 71# ranger
72alias r='_ranger-cd' 72alias r='_ranger-cd'
73alias ranrc='vim ~/.config/ranger/rc.conf' 73alias ranrc='vim ~/.config/ranger/rc.conf'
74function ranger-cd() { 74_ranger-cd() {
75 tempfile="$(mktemp -t tmp.XXXXXX)" 75 tempfile="$(mktemp -t tmp.XXXXXX)"
76 ranger --choosedir="$tempfile" "${@:-$(pwd)}" 76 ranger --choosedir="$tempfile" "${@:-$(pwd)}"
77 test -f "$tempfile" && 77 test -f "$tempfile" &&
@@ -245,3 +245,4 @@ alias cdand='cd ~/git/sample'
245repo='git@github.com' 245repo='git@github.com'
246hub='https://github.com' 246hub='https://github.com'
247typebrook='git@github.com:typebrook' 247typebrook='git@github.com:typebrook'
248GITHUB_API='https://api.github.com'