An open API service indexing awesome lists of open source software.

https://github.com/2xlink/xonsh-remote-dir-tabcomplete

Remote dir tab completions for your xonsh shell! 🚀
https://github.com/2xlink/xonsh-remote-dir-tabcomplete

xonsh

Last synced: about 1 month ago
JSON representation

Remote dir tab completions for your xonsh shell! 🚀

Awesome Lists containing this project

README

        

# xonsh-remote-dir-tabcompletions

This script enables tab completion for remote directories, just like fish and zsh do.

Like this:
```
$ ~ rsync hp:/ (press tab)
bin/ etc/ lib/ mnt/ run/ swap8G.img var/
boot/ home/ lib64/ opt/ sbin/ sys/ vmlinuz
dev/ initrd.img lost+found/ proc/ snap/ tmp/ vmlinuz.old
docker/ initrd.img.old media/ root/ srv/ usr/
```

### Installation
Move the script to an appropriate location, and then add it to your completers by using
```
source /path/to/xonsh-remoteDirCompleter.xsh
completer add RemoteDirCompleter remoteDirCompleter
```
You might want to do this in your .xonshrc to enable this on shell startup.