mirror of
				https://github.com/wting/autojump
				synced 2025-06-13 12:54:07 +00:00 
			
		
		
		
	Add vim and emacs to the list of completed programs
Unfortunately this list is likely to grow longer and longer, but I couldn't find a way to complete all commands. More context: http://superuser.com/questions/333213/is-it-possible-to-configure-the-way-bash-completes-directory-names
This commit is contained in:
		
							parent
							
								
									448696ef9b
								
							
						
					
					
						commit
						6d1a9ffac9
					
				@ -44,7 +44,7 @@ _autojump_files()
 | 
			
		||||
EOF
 | 
			
		||||
    fi
 | 
			
		||||
}
 | 
			
		||||
complete -o default -o bashdefault -F _autojump_files cp mv meld diff kdiff3
 | 
			
		||||
complete -o default -o bashdefault -F _autojump_files cp mv meld diff kdiff3 vim emacs
 | 
			
		||||
 | 
			
		||||
#determine the data directory according to the XDG Base Directory Specification
 | 
			
		||||
if [ -n "$XDG_DATA_HOME" ]; then
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user