diff options
Diffstat (limited to 'alias')
| -rw-r--r-- | alias | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -71,7 +71,7 @@ alias ce='crontab -e' | |||
| 71 | # ranger | 71 | # ranger |
| 72 | alias r='_ranger-cd' | 72 | alias r='_ranger-cd' |
| 73 | alias ranrc='vim ~/.config/ranger/rc.conf' | 73 | alias ranrc='vim ~/.config/ranger/rc.conf' |
| 74 | function 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' | |||
| 245 | repo='git@github.com' | 245 | repo='git@github.com' |
| 246 | hub='https://github.com' | 246 | hub='https://github.com' |
| 247 | typebrook='git@github.com:typebrook' | 247 | typebrook='git@github.com:typebrook' |
| 248 | GITHUB_API='https://api.github.com' | ||