aboutsummaryrefslogtreecommitdiffhomepage
path: root/alias
diff options
context:
space:
mode:
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'