diff options
Diffstat (limited to 'alias')
| -rw-r--r-- | alias | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -26,8 +26,8 @@ alias cdd='cd ~/Downloads' | |||
| 26 | alias cdg='cd ~/git' | 26 | alias cdg='cd ~/git' |
| 27 | alias cds='cd ~/git/settings' | 27 | alias cds='cd ~/git/settings' |
| 28 | 28 | ||
| 29 | alias r='ranger-cd' | 29 | alias r='_ranger-cd' |
| 30 | function ranger-cd { | 30 | function _ranger-cd { |
| 31 | tempfile="$(mktemp -t tmp.XXXXXX)" | 31 | tempfile="$(mktemp -t tmp.XXXXXX)" |
| 32 | ranger --choosedir="$tempfile" "${@:-$(pwd)}" | 32 | ranger --choosedir="$tempfile" "${@:-$(pwd)}" |
| 33 | test -f "$tempfile" && | 33 | test -f "$tempfile" && |