Skip to content

2xlink/xonsh-remote-dir-tabcomplete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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.

About

Remote dir tab completions for your xonsh shell! πŸš€

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published