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! 🚀
- Host: GitHub
- URL: https://github.com/2xlink/xonsh-remote-dir-tabcomplete
- Owner: 2xlink
- License: mit
- Created: 2019-11-21T10:24:17.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-06T10:36:46.000Z (over 4 years ago)
- Last Synced: 2024-10-24T15:38:48.869Z (6 months ago)
- Topics: xonsh
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.