context-sensitive tab completion
put fix: use local file basename if no remote path given