- add .ico completion to ee, display, etc.
This commit is contained in:
parent
b3ad6561fa
commit
b7429cecd2
@ -1,6 +1,6 @@
|
||||
# bash_completion - some programmable completion functions for bash 2.05a
|
||||
#
|
||||
# $Id: bash_completion,v 1.198 2002/03/15 07:20:04 ianmacd Exp $
|
||||
# $Id: bash_completion,v 1.199 2002/03/15 17:39:18 ianmacd Exp $
|
||||
#
|
||||
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||
#
|
||||
@ -51,7 +51,7 @@ complete -f -X '!*.@(zip|ZIP|jar|JAR|exe|EXE|pk3)' unzip
|
||||
complete -f -X '*.Z' compress znew
|
||||
complete -f -X '!*.@(Z|gz|tgz|Gz)' gunzip zcmp zdiff zcat zegrep zfgrep zgrep zless zmore
|
||||
complete -f -X '!*.Z' uncompress
|
||||
complete -f -X '!*.@(gif|jp?(e)g|tif?(f)|png|p[bgp]m|bmp|xpm|GIF|JPG|JP?(E)G|TIF?(F)|PNG|P[BGP]M|BMP|XPM)' ee xv qiv display
|
||||
complete -f -X '!*.@(gif|jp?(e)g|tif?(f)|png|p[bgp]m|bmp|xpm|ico|GIF|JPG|JP?(E)G|TIF?(F)|PNG|P[BGP]M|BMP|XPM|ICO)' ee xv qiv display
|
||||
complete -f -X '!*.@(?(e)ps|?(E)PS|?(e)ps.gz|pdf|PDF)' gv ggv
|
||||
complete -f -X '!*.@(dvi|DVI)?(.@(gz|Z|bz2))' xdvi
|
||||
complete -f -X '!*.@(dvi|DVI)' dvips dviselect dvitype
|
||||
@ -1376,6 +1376,8 @@ _ssh()
|
||||
}
|
||||
[ "$have" ] && shopt -u hostcomplete && complete -F _ssh ssh slogin sftp
|
||||
|
||||
# scp(1) completion
|
||||
#
|
||||
have scp &&
|
||||
_scp()
|
||||
{
|
||||
@ -1408,8 +1410,7 @@ _scp()
|
||||
}
|
||||
[ "$have" ] && complete -o filenames -F _scp scp
|
||||
|
||||
# Linux route(8) completion. This could be improved by adding address family
|
||||
# completion for -A, etc.
|
||||
# Linux route(8) completion
|
||||
#
|
||||
[ $OS = Linux ] &&
|
||||
_route()
|
||||
|
Loading…
x
Reference in New Issue
Block a user