1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142
|
RCS file: /var/cvs/bash_completion/bash_completion,v
Working file: bash_completion
head: 1.872
branch:
locks: strict
access list:
symbolic names:
rel20060301: 1.872
rel20050721: 1.827
rel20050720: 1.819
rel20050712: 1.815
rel20050121: 1.786
rel20050120: 1.785
rel20050112: 1.776
rel20050103: 1.772
rel20041017: 1.758
rel20040711: 1.737
rel20040704: 1.731
rel20040526: 1.714
rel20040331: 1.700
rel20040214: 1.690
rel20040210: 1.683
rel20040101: 1.672
rel20031225: 1.667
rel20031215: 1.662
rel20031125: 1.657
rel20031112: 1.653
rel20031022: 1.644
rel20031007: 1.637
rel20031029: 1.630
rel20030911: 1.624
rel20030821: 1.617
rel20030811: 1.610
rel20030803: 1.603
rel20030721: 1.594
rel20030713: 1.590
rel20030630: 1.585
rel20030607: 1.579
rel20030527: 1.571
rel20030505: 1.562
rel20030501: 1.560
rel20030419: 1.548
rel20030414: 1.543
rel20030327: 1.538
rel20030227: 1.535
rel20030209: 1.529
rel20030201: 1.524
rel20030126: 1.520
rel20030118: 1.515
rel20030113: 1.511
devel: 1.504.0.2
rel20021231: 1.504
rel20021223: 1.499
rel20021221: 1.493
rel20021217: 1.489
rel20021213: 1.486
rel20021205: 1.480
rel20021026: 1.462
rel20021022: 1.455
rel20021021: 1.453
rel20021017: 1.448
rel20021013: 1.438
rel20021007: 1.432
rel20021005: 1.428
rel20021001: 1.420
rel20020928: 1.415
rel20020909: 1.410
rel20020819: 1.404
rel20020812: 1.401
rel20020803: 1.397
rel20020727: 1.390
rel20020723: 1.387
rel20020716: 1.383
rel20020711: 1.379
rel20020704: 1.377
rel20020626: 1.374
rel20020624: 1.370
rel20020621: 1.366
rel20020619: 1.362
rel20020616: 1.358
rel20020611: 1.355
rel20020609: 1.353
rel20020605: 1.348
rel20020601: 1.339
rel20020528: 1.335
rel20020521: 1.332
rel20020519: 1.329
rel20020516: 1.322
rel20020514: 1.317
rel20020511: 1.313
rel20020507: 1.305
rel20020504: 1.297
rel20020430: 1.290
rel20020427: 1.286
rel20020422: 1.278
rel20020418: 1.272
rel20020413: 1.267
rel20020408: 1.264
rel20020406: 1.262
rel20020404: 1.259
rel20020402: 1.246
rel20020331: 1.239
rel20020330: 1.237
rel20020328: 1.229
rel20020326: 1.221
rel20020324: 1.213
rel20020322: 1.210
rel20020318: 1.204
rel20020314: 1.197
rel20020311: 1.195
rel20020306: 1.180
rel20020304: 1.177
rel20020227: 1.163
rel20020225: 1.145
rel20020220: 1.138
rel20020215: 1.118
rel20020213: 1.108
rel20020212: 1.105
rel20020209: 1.96
rel20020206: 1.93
rel20020204: 1.84
rel20020130: 1.77
rel20020124: 1.70
rel20020121: 1.60
rel20020115: 1.55
rel20020109: 1.53
rel20020105: 1.47
keyword substitution: kv
total revisions: 876; selected revisions: 876
description:
----------------------------
revision 1.872
date: 2006/03/01 16:20:18; author: ianmacd; state: Exp; lines: +2 -2
Release 20060301.
----------------------------
revision 1.871
date: 2006/03/01 13:15:43; author: ianmacd; state: Exp; lines: +3 -3
There were probable bash 3.1 POSIX quote problems if UserKnownHostsFile or
GlobalKnownHostsFile keywords were used inside ssh config files. Fixed.
----------------------------
revision 1.870
date: 2006/03/01 10:22:43; author: ianmacd; state: Exp; lines: +425 -1
Added new subversion completion implementation by Guillaume Rousse
<guillomovitch@zarb.org> and removed the old one from contrib.
----------------------------
revision 1.869
date: 2006/03/01 10:13:27; author: ianmacd; state: Exp; lines: +38 -1
Added minicom completion by Guillaume Rousse <guillomovitch@zarb.org>.
----------------------------
revision 1.868
date: 2006/03/01 10:05:29; author: ianmacd; state: Exp; lines: +14 -2
--nodigest and --nosignature options must be set in $nodig and $nosig within
_rpm_installed_packages() itself, not just set in _rpm() before
_rpm_installed_packages() is called. This is because other completion
functions also call _rpm_installed_packages().
Fix from Guillaume Rousse <guillomovitch@zarb.org>.
----------------------------
revision 1.867
date: 2006/03/01 09:55:31; author: ianmacd; state: Exp; lines: +3 -3
Minor playmidi and timidity additions for .MID(I) (capital letters) files.
----------------------------
revision 1.866
date: 2006/03/01 09:49:52; author: ianmacd; state: Exp; lines: +2 -2
Add kdvi, dvipdf and advi to programs that complete on .dvi files. Thanks to
Guillaume Rousse <guillomovitch@zarb.org>.
----------------------------
revision 1.865
date: 2006/03/01 09:47:38; author: ianmacd; state: Exp; lines: +10 -9
iconv completion improvement from Guillaume Rousse <guillomovitch@zarb.org>.
----------------------------
revision 1.864
date: 2006/03/01 09:40:27; author: ianmacd; state: Exp; lines: +97 -18
Replace invoke-rc.d completion with an implementation by Servilio Afre Puentes
<servilio@gmail.com>.
----------------------------
revision 1.863
date: 2006/02/28 12:53:20; author: ianmacd; state: Exp; lines: +2 -2
Fix _pkg_config() typo. Thanks to Koblinger Egmont <egmont@cs.bme.hu>.
----------------------------
revision 1.862
date: 2006/02/26 19:20:21; author: ianmacd; state: Exp; lines: +12 -7
yum completion update from Ville Skytt <ville.skytta@iki.fi>.
----------------------------
revision 1.861
date: 2006/02/26 00:12:40; author: ianmacd; state: Exp; lines: +30 -2
Debian invoke-rc.d completion by Jan Christoph Ebersbach
<jan-christoph.ebersbach@e-jc.de>.
----------------------------
revision 1.860
date: 2006/02/25 13:36:12; author: ianmacd; state: Exp; lines: +7 -4
Use ant's complete-ant-cmd.pl if it's available. Suggested by Greg Kedge
<gkedge@paychex.com>.
----------------------------
revision 1.859
date: 2006/02/25 13:02:25; author: ianmacd; state: Exp; lines: +17 -1
sysctl(8) completion, modified from code sent in by Jonas Davidsson
<aphex@bredband.net>.
----------------------------
revision 1.858
date: 2006/02/25 11:55:56; author: ianmacd; state: Exp; lines: +8 -1
Add 'cvs update' completion. Patch from Rafael Luque Leiva
<rafael.luque@hp.com>.
----------------------------
revision 1.857
date: 2006/02/25 11:49:40; author: ianmacd; state: Exp; lines: +30 -1
vncviewer(1) completion by Dean Montgomery <dmonty@sd73.bc.ca>.
----------------------------
revision 1.856
date: 2006/02/25 11:37:32; author: ianmacd; state: Exp; lines: +6 -1
Add support for PLD Linux to _configured_interfaces(). Patch from Elan
Ruusame <glen@delfi.ee>.
----------------------------
revision 1.855
date: 2006/02/25 00:24:16; author: ianmacd; state: Exp; lines: +193 -1
smartctl completion by Guillaume Rousse <Guillaume.Rousse@inria.fr>.
----------------------------
revision 1.854
date: 2006/02/24 23:55:13; author: ianmacd; state: Exp; lines: +2 -2
Make make(1) et al complete on filenames, too. Suggested by Christian Boltz
<cb@cboltz.de>.
----------------------------
revision 1.853
date: 2006/02/24 22:07:47; author: ianmacd; state: Exp; lines: +3 -4
Use $BASH_COMPLETION_DEBUG to turn on debugging, rather than $DEBUG.
----------------------------
revision 1.852
date: 2006/02/24 12:59:03; author: ianmacd; state: Exp; lines: +5 -3
Make 'aptitude show' work the same way as 'apt-cache show'. Fix from nerf
<j-andrieux@laposte.net>.
----------------------------
revision 1.851
date: 2006/02/24 12:48:59; author: ianmacd; state: Exp; lines: +2 -5
Accidentally left some echo commands for debugging.
----------------------------
revision 1.850
date: 2006/02/24 12:04:52; author: ianmacd; state: Exp; lines: +3 -2
Make clear that this works with bash and 2.05b, too.
----------------------------
revision 1.849
date: 2006/02/24 12:02:15; author: ianmacd; state: Exp; lines: +2 -2
Add .flac completion for MPlayer. Suggested by Robert Millan <rmh@debian.org>.
----------------------------
revision 1.848
date: 2006/02/24 12:00:38; author: ianmacd; state: Exp; lines: +131 -1
Add dpkg-source completion from Sven Mueller <debian@incase.de>.
----------------------------
revision 1.847
date: 2006/02/24 11:51:39; author: ianmacd; state: Exp; lines: +2 -2
Add .exe.so completion to wine. Suggested by Johannes Rohr
<j.rohr@comlink.org>.
----------------------------
revision 1.846
date: 2006/02/24 11:41:04; author: ianmacd; state: Exp; lines: +2 -2
unzip can make use of oowriter's .ott files. Suggested by "Mykola A.
Nickishov" <mn@mn.com.ua>.
----------------------------
revision 1.845
date: 2006/02/24 11:37:04; author: ianmacd; state: Exp; lines: +2 -2
Fix gdb completion issue when completing second parameter after first
parameter that has white space. Reported by Branden Robinson
<branden@debian.org>.
----------------------------
revision 1.844
date: 2006/02/24 11:19:41; author: ianmacd; state: Exp; lines: +2 -2
Add .mng to file types that xine et al can complete on. Suggested by Patrick
Fritzsch <fritzsch@cip.physik.uni-muenchen.de>.
----------------------------
revision 1.843
date: 2006/02/24 01:10:58; author: ianmacd; state: Exp; lines: +2 -2
MPlayer can also complete on .mpc files. Suggested by knefas
<knefas@gmail.com>.
----------------------------
revision 1.842
date: 2006/02/24 01:09:23; author: ianmacd; state: Exp; lines: +2 -2
mkisofs completion now defaults to treating completions as filenames.
----------------------------
revision 1.841
date: 2006/02/24 01:03:37; author: ianmacd; state: Exp; lines: +2 -2
More timidity completions from Tijmen Baarda <tijmenbaarda@tijgerweb.net>.
----------------------------
revision 1.840
date: 2006/02/24 00:57:25; author: ianmacd; state: Exp; lines: +2 -3
gdb completion wasn't completing second parameter correctly when it was a
file, rather than a PID. Fix from unknown Google source, but provided via
Peter Duff <duff@google.com>.
----------------------------
revision 1.839
date: 2006/02/24 00:46:30; author: ianmacd; state: Exp; lines: +3 -3
Minor cvs completion change.
----------------------------
revision 1.838
date: 2006/02/24 00:25:33; author: ianmacd; state: Exp; lines: +7 -5
Allow man completion to work on OpenBSD, too. Patch by Kyle Wheeler
<kyle@memoryhole.net>.
----------------------------
revision 1.837
date: 2006/02/24 00:12:41; author: ianmacd; state: Exp; lines: +5 -2
Avoid the need for grep in _rl_enabled(). Modified from a suggestion by Kyle
Wheeler <kyle@memoryhole.net>.
----------------------------
revision 1.836
date: 2006/02/23 22:55:44; author: ianmacd; state: Exp; lines: +15 -1
aptitude patch to use grep-status, if available. Patch from Kyle Wheeler
<kyle@memoryhole.net>.
----------------------------
revision 1.835
date: 2006/02/23 21:16:16; author: ianmacd; state: Exp; lines: +2 -2
MPlayer can play 3gp files produced by mobile phones. Suggested by Ismail
Donmez <ismail@uludag.org.tr>.
----------------------------
revision 1.834
date: 2006/02/23 20:27:59; author: ianmacd; state: Exp; lines: +6 -6
Add support for 'cvs stat'. Thanks to Ville Skytt <ville.skytta@iki.fi>.
----------------------------
revision 1.833
date: 2006/02/23 20:26:10; author: ianmacd; state: Exp; lines: +2 -2
Add mtr to known hosts completion. Thanks to Ville Skytt
<ville.skytta@iki.fi>.
----------------------------
revision 1.832
date: 2006/02/23 18:01:37; author: ianmacd; state: Exp; lines: +5 -5
_known_hosts() and _mount() were broken by bash 3.1. Some aspect of how
POSIX-quoted strings (e.g. $'\t') are expanded has changed in this version,
requiring that such strings no longer appear inside double-quotes.
Ville Skytt <ville.skytta@iki.fi> pointed out the symptoms and suggested a
fix for _known_hosts(), but that fix relied upon sed understanding \t, which
some versions of sed do not. This version of the fix puts POSIX-quoted strings
outside of the double-quotes.
----------------------------
revision 1.831
date: 2005/07/30 06:27:32; author: ianmacd; state: Exp; lines: +2 -2
Use -o filenames instead of -o default for Perl.
----------------------------
revision 1.830
date: 2005/07/28 00:11:14; author: ianmacd; state: Exp; lines: +3 -3
Minor _filedir() edit to remove code no longer in use.
----------------------------
revision 1.829
date: 2005/07/28 00:04:59; author: ianmacd; state: Exp; lines: +2 -2
evince command was missing
----------------------------
revision 1.828
date: 2005/07/24 08:12:41; author: ianmacd; state: Exp; lines: +3 -2
Allow evince to complete on wider variety of files (from Vijay Durairaj
<durairaj@cs.utah.edu>)
----------------------------
revision 1.827
date: 2005/07/21 19:21:22; author: ianmacd; state: Exp; lines: +2 -2
Bumped release to 20050721.
----------------------------
revision 1.826
date: 2005/07/21 01:43:47; author: ianmacd; state: Exp; lines: +4 -4
MPlayer options should now use dashes, not underscores. (Thanks to Guillaume
Rousse <Guillaume.Rousse@inria.fr>)
----------------------------
revision 1.825
date: 2005/07/21 01:26:01; author: ianmacd; state: Exp; lines: +27 -3
Extended mc completion by Guillaume Rousse <Guillaume.Rousse@inria.fr>.
----------------------------
revision 1.824
date: 2005/07/21 01:20:36; author: ianmacd; state: Exp; lines: +11 -5
lilo completion fix from Guillaume Rousse <Guillaume.Rousse@inria.fr>.
----------------------------
revision 1.823
date: 2005/07/21 01:09:27; author: ianmacd; state: Exp; lines: +2 -2
Not sure why we had that superfluous echo in there. Perhaps it was to work
around a bug in older versions of bash.
----------------------------
revision 1.822
date: 2005/07/21 00:57:24; author: ianmacd; state: Exp; lines: +30 -7
iwconfig improvements by Guillaume Rousse <Guillaume.Rousse@inria.fr>
----------------------------
revision 1.821
date: 2005/07/21 00:54:36; author: ianmacd; state: Exp; lines: +3 -3
Fix up tcpdump and dhclient completion to use correct interfaces function
(patch by Guillaume Rousse <Guillaume.Rousse@inria.fr>)
----------------------------
revision 1.820
date: 2005/07/21 00:40:14; author: ianmacd; state: Exp; lines: +4 -4
Turn off expansion disabling in _filedir(), as this has the annoying
side-effect of cancelling alias expansion for a given invocation of a command.
----------------------------
revision 1.819
date: 2005/07/20 07:41:41; author: ianmacd; state: Exp; lines: +2 -2
Version bumped to 20050720.
----------------------------
revision 1.818
date: 2005/07/19 17:38:39; author: ianmacd; state: Exp; lines: +6 -3
- evince completion for .pdf files.
- More OpenOffice 2 completions
This patch from Horst von Brand via Ville Skytt <ville.skytta@iki.fi>.
----------------------------
revision 1.817
date: 2005/07/19 06:32:31; author: ianmacd; state: Exp; lines: +8 -8
Fix up patterns for tarball matching (patch by Ville Skytt
<ville.skytta@iki.fi>).
----------------------------
revision 1.816
date: 2005/07/19 06:28:48; author: ianmacd; state: Exp; lines: +4 -4
Add completion for xine front-ends, plus kplayer/mplayer (patch by Ville
Skytt <ville.skytta@iki.fi>).
----------------------------
revision 1.815
date: 2005/07/12 19:13:02; author: ianmacd; state: Exp; lines: +2 -2
Minor brace fix.
----------------------------
revision 1.814
date: 2005/07/12 16:32:54; author: ianmacd; state: Exp; lines: +3 -3
Bump version to 20050712.
----------------------------
revision 1.813
date: 2005/07/12 07:28:08; author: ianmacd; state: Exp; lines: +9 -7
Make mutt completion also work for muttng (patch by Marcin Kryczek
<aye@gentoo.pl>).
----------------------------
revision 1.812
date: 2005/07/12 07:22:57; author: ianmacd; state: Exp; lines: +3 -3
tar 1.15.1 can unpack compressed archives, even if [IZzjy] are not given
(patch by Aaron Walker <ka0ttic@gentoo.org>).
----------------------------
revision 1.811
date: 2005/07/12 06:50:25; author: ianmacd; state: Exp; lines: +7 -2
Fix _filedir(), so that literal filenames that appear to be glob patterns are
not treated as such (patch by Claudio Bley <bley@linuxmail.org>).
----------------------------
revision 1.810
date: 2005/07/12 00:24:19; author: ianmacd; state: Exp; lines: +2 -1
rpm2cpio completion (thanks to Guillaume Rousse <rousse@ccr.jussieu.fr>).
----------------------------
revision 1.809
date: 2005/07/12 00:23:30; author: ianmacd; state: Exp; lines: +42 -26
User and group factorisation patch from Guillaume Rousse
<rousse@ccr.jussieu.fr>.
----------------------------
revision 1.808
date: 2005/07/12 00:21:13; author: ianmacd; state: Exp; lines: +32 -1
ntpdate completion by Guillaume Rousse <rousse@ccr.jussieu.fr>.
----------------------------
revision 1.807
date: 2005/07/12 00:20:16; author: ianmacd; state: Exp; lines: +46 -1
getent completion by Guillaume Rousse <rousse@ccr.jussieu.fr>.
----------------------------
revision 1.806
date: 2005/07/12 00:19:05; author: ianmacd; state: Exp; lines: +20 -1
id completion by Guillaume Rousse <rousse@ccr.jussieu.fr>.
----------------------------
revision 1.805
date: 2005/07/12 00:18:01; author: ianmacd; state: Exp; lines: +112 -1
cpio completion by Guillaume Rousse <rousse@ccr.jussieu.fr>.
----------------------------
revision 1.804
date: 2005/07/11 23:38:42; author: ianmacd; state: Exp; lines: +3 -3
More extensions for MPlayer (patch by Aaron Walker <ka0ttic@gentoo.org>).
----------------------------
revision 1.803
date: 2005/07/11 23:36:59; author: ianmacd; state: Exp; lines: +3 -2
Accept .rmi as an extension for Timidity (patch by Aaron Walker
<ka0ttic@gentoo.org>).
----------------------------
revision 1.802
date: 2005/07/11 23:36:17; author: ianmacd; state: Exp; lines: +7 -7
Use sed instead of awk in LVM completion (patch by Aaron Walker
<ka0ttic@gentoo.org>)
----------------------------
revision 1.801
date: 2005/07/08 04:20:58; author: ianmacd; state: Exp; lines: +6 -6
Avoid exit status of 1 when reassigning read-only variables.
----------------------------
revision 1.800
date: 2005/07/08 01:47:14; author: ianmacd; state: Exp; lines: +9 -15
Simplify definition of BASH_COMPLETION and BASH_COMPLETION_DIR variables.
----------------------------
revision 1.799
date: 2005/07/08 01:36:51; author: ianmacd; state: Exp; lines: +162 -162
Remove checks of $have by compounding complete commands after function
definitions.
----------------------------
revision 1.798
date: 2005/07/07 23:43:25; author: ianmacd; state: Exp; lines: +135 -135
Move _lvm() completion to end of all LVM commands.
----------------------------
revision 1.797
date: 2005/07/07 23:41:15; author: ianmacd; state: Exp; lines: +3 -6
Installation of info completion should not depend on OS.
----------------------------
revision 1.796
date: 2005/07/07 23:35:09; author: ianmacd; state: Exp; lines: +3 -3
make completion should also work for gnumake.
----------------------------
revision 1.795
date: 2005/07/07 23:09:39; author: ianmacd; state: Exp; lines: +12 -16
Don't define _pids() and _pgids() twice on Solaris and AIX.
----------------------------
revision 1.794
date: 2005/07/07 22:11:38; author: ianmacd; state: Exp; lines: +7 -7
Fix scp completion when filename contains shell metacharacters. (Patch from
Markus Wiederkehr <markus.wiederkehr@gmail.com>).
----------------------------
revision 1.793
date: 2005/07/07 22:07:00; author: ianmacd; state: Exp; lines: +2 -2
Add .rmbv file extension to MPlayer completion. (Thanks to Joseph Yen
<joseph.yen@gmail.com>)
----------------------------
revision 1.792
date: 2005/07/07 21:52:03; author: ianmacd; state: Exp; lines: +4 -4
Support the new open document formats of OpenOffice 2.0. (patch from Hanno
Bck <mail@hboeck.de>)
----------------------------
revision 1.791
date: 2005/07/07 21:45:26; author: ianmacd; state: Exp; lines: +2 -2
Use -o filenames for rsync completion.
----------------------------
revision 1.790
date: 2005/02/08 21:50:01; author: ianmacd; state: Exp; lines: +3 -3
Minor CVS fix from "Samuel J. Irlapati" <Samuel.Irlapati@unisys.com>.
----------------------------
revision 1.789
date: 2005/02/03 09:12:44; author: ianmacd; state: Exp; lines: +2 -2
- Minor fix to xscreensaver completion.
----------------------------
revision 1.788
date: 2005/01/25 10:11:02; author: ianmacd; state: Exp; lines: +2 -2
- Support more MPlayer subtitle types. (Thanks to justus schwartz
<justus@gmx.li>)
----------------------------
revision 1.787
date: 2005/01/25 01:41:25; author: ianmacd; state: Exp; lines: +2 -2
- Remove w3m from commands that complete on .html files, as it's now a more
general file browser. (Debian #291359)
----------------------------
revision 1.786
date: 2005/01/21 22:29:49; author: ianmacd; state: Exp; lines: +5 -2
- Fix broken sudo completion.
- Bump version to 20050121
----------------------------
revision 1.785
date: 2005/01/20 10:10:00; author: ianmacd; state: Exp; lines: +2 -2
- Bump version to 20050120.
----------------------------
revision 1.784
date: 2005/01/19 04:41:36; author: ianmacd; state: Exp; lines: +45 -15
- Improve ssh2 known hosts completion. (Debian bug #282767)
----------------------------
revision 1.783
date: 2005/01/19 04:22:03; author: ianmacd; state: Exp; lines: +2 -2
- Remove xargs from list of commands that do longopts completion. xargs
now does completion like sudo, exec, nice, strace, etc.
----------------------------
revision 1.782
date: 2005/01/19 04:19:45; author: ianmacd; state: Exp; lines: +19 -7
- Pass over switches to metacommands like sudo, nice, exec, etc.
(Debian bug #289847)
----------------------------
revision 1.781
date: 2005/01/16 19:10:51; author: ianmacd; state: Exp; lines: +2 -2
- Trivial fix to allow python to be called with a path component without
bash displaying a bad subscript error. (Debian bug #290748)
----------------------------
revision 1.780
date: 2005/01/16 18:44:15; author: ianmacd; state: Exp; lines: +2 -2
- unzip should also work on .sxw files. (Debian bug #286738)
----------------------------
revision 1.779
date: 2005/01/16 18:42:01; author: ianmacd; state: Exp; lines: +10 -5
- Lots of commands that use _longopts() don't use filenames at all, so
these shouldn't be mapped with '-o filenames'. (Debian bug #283069, which
related only to wget)
----------------------------
revision 1.778
date: 2005/01/16 18:27:29; author: ianmacd; state: Exp; lines: +4 -4
- Make dd treat completions as filenames, which is bad for options, but
good for filename arguments to 'if' and 'of'. (Debian bug #287286)
----------------------------
revision 1.777
date: 2005/01/16 18:12:27; author: ianmacd; state: Exp; lines: +2 -2
- Fix lvresize errors when running as non-root (Debian #285604)
----------------------------
revision 1.776
date: 2005/01/13 02:22:45; author: ianmacd; state: Exp; lines: +34 -34
- Bump version to 20050112
----------------------------
revision 1.775
date: 2005/01/12 22:45:16; author: ianmacd; state: Exp; lines: +7 -3
- Make completion work for chown/chgrp when group names contain spaces.
Patch by Robin Rosenberg <robin.rosenberg@dewire.com>
----------------------------
revision 1.774
date: 2005/01/10 23:39:56; author: ianmacd; state: Exp; lines: +133 -80
- Wireless tools completion improvements by Guillaume Rousse
<rousse@ccr.jussieu.fr>
----------------------------
revision 1.773
date: 2005/01/04 23:35:41; author: ianmacd; state: Exp; lines: +2 -1
- Make location of openssl.cnf somewhat more flexible (patch by
Ville Skytt <ville.skytta@iki.fi>)
----------------------------
revision 1.772
date: 2005/01/04 06:37:42; author: ianmacd; state: Exp; lines: +2 -2
- Update version to 20050103.
----------------------------
revision 1.771
date: 2005/01/03 05:38:41; author: ianmacd; state: Exp; lines: +472 -4
- Complete rewrite of openssl(1) completion by Guillaume Rousse
<rousse@ccr.jussieu.fr>.
----------------------------
revision 1.770
date: 2005/01/03 05:31:38; author: ianmacd; state: Exp; lines: +28 -1
- pkg-config completion by Guillaume Rousse <rousse@ccr.jussieu.fr>.
----------------------------
revision 1.769
date: 2005/01/03 03:42:12; author: ianmacd; state: Exp; lines: +6 -1
- Cygwin patch for mount and minor find (fstab) robustness fix by
Reini Urban <rurban@x-ray.at>
----------------------------
revision 1.768
date: 2005/01/03 03:11:55; author: ianmacd; state: Exp; lines: +22 -12
- Completion for alternate Makefile paths by Christoph Gysin <cgysin@gmx.ch>.
----------------------------
revision 1.767
date: 2005/01/03 02:51:15; author: ianmacd; state: Exp; lines: +2 -1
- ps2pdf completion by Volker Stolz <stolz@i2.informatik.rwth-aachen.de>.
----------------------------
revision 1.766
date: 2005/01/03 02:35:57; author: ianmacd; state: Exp; lines: +70 -1
- mkinitrd completion by Guillaume Rousse <rousse@ccr.jussieu.fr>.
----------------------------
revision 1.765
date: 2005/01/03 02:24:14; author: ianmacd; state: Exp; lines: +13 -8
- modprobe factorisation patch by Guillaume Rousse <rousse@ccr.jussieu.fr>.
----------------------------
revision 1.764
date: 2005/01/03 02:02:16; author: ianmacd; state: Exp; lines: +67 -1
- Wireless tools patch by Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.763
date: 2005/01/03 00:53:47; author: ianmacd; state: Exp; lines: +12 -5
- cvs(1) completion fixes from Richard Lrkng <nouseforaname@home.se>.
----------------------------
revision 1.762
date: 2005/01/03 00:48:27; author: ianmacd; state: Exp; lines: +8 -3
- Add ,v files to list rcs(1) can complete on. From Ed Catmur
<ed@catmur.co.uk> via Aaron Walker <ka0ttic@gentoo.org>.
----------------------------
revision 1.761
date: 2004/11/22 21:20:43; author: ianmacd; state: Exp; lines: +3 -3
- make sure unaliased grep is used in a couple of places. This really needs
to be performed throughout the file, everywhere where an external command
(or even a built-in) is called.
----------------------------
revision 1.760
date: 2004/10/24 19:01:56; author: ianmacd; state: Exp; lines: +3 -3
- fixes for completing RealAudio files (patch by Peter Adolphs
<futzilogik@arcor.de>)
----------------------------
revision 1.759
date: 2004/10/19 05:51:04; author: ianmacd; state: Exp; lines: +4 -4
- make screen completion include the socket part of session names (patch by
John Russell <jjrussell@gmail.com>)
----------------------------
revision 1.758
date: 2004/10/17 08:25:34; author: ianmacd; state: Exp; lines: +2 -2
- bumped version to 20041017
----------------------------
revision 1.757
date: 2004/10/15 18:27:22; author: ianmacd; state: Exp; lines: +3 -2
- properly unset $have at end of sourcing
----------------------------
revision 1.756
date: 2004/10/15 07:51:09; author: ianmacd; state: Exp; lines: +4 -6
- scp completion was still broken for file names, both local and remote, that
contained shell metacharacters.
----------------------------
revision 1.755
date: 2004/10/15 07:30:00; author: ianmacd; state: Exp; lines: +2 -2
- fix gzip with files whose names contain spaces
----------------------------
revision 1.754
date: 2004/10/15 06:47:39; author: ianmacd; state: Exp; lines: +7 -7
- rename _comp-dpkg-installed-packages() to _comp_dpkg_installed_packages()
to comply with POSIX.2 shell function naming
----------------------------
revision 1.753
date: 2004/10/15 06:42:27; author: ianmacd; state: Exp; lines: +2 -2
- make talk, ytalk and finger not add a suffix of '@' after completing a user
name. This makes same-host completion more pleasant.
----------------------------
revision 1.752
date: 2004/10/14 16:57:41; author: ianmacd; state: Exp; lines: +3 -3
- apt-cache improvements from savar@gmx.de
----------------------------
revision 1.751
date: 2004/10/14 09:31:18; author: ianmacd; state: Exp; lines: +2 -2
- add .miff as an extension for display completion
----------------------------
revision 1.750
date: 2004/10/14 09:24:15; author: ianmacd; state: Exp; lines: +10 -4
- process targets in included Makefiles during make completion (patch by
Christoph Gysin <cgysin@gmx.ch>)
----------------------------
revision 1.749
date: 2004/10/14 09:14:12; author: ianmacd; state: Exp; lines: +5 -5
- quote bash completion location variables for safety (paths containing spaces
would be problematic)
----------------------------
revision 1.748
date: 2004/10/14 09:10:11; author: ianmacd; state: Exp; lines: +3 -9
- some more minor tidying
----------------------------
revision 1.747
date: 2004/10/14 09:08:33; author: ianmacd; state: Exp; lines: +6 -4
- tidy up screen completion
----------------------------
revision 1.746
date: 2004/10/14 08:54:55; author: ianmacd; state: Exp; lines: +3 -3
- test for dhclient before installing its completion function
----------------------------
revision 1.745
date: 2004/10/14 08:52:14; author: ianmacd; state: Exp; lines: +1163 -1
- new dhclient and lvm completion by Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.744
date: 2004/10/13 20:58:48; author: ianmacd; state: Exp; lines: +4 -4
- fix scp completion breakage when filenames contained an ampersand
----------------------------
revision 1.743
date: 2004/10/08 16:31:28; author: ianmacd; state: Exp; lines: +3 -4
- fix sed error on service completion
----------------------------
revision 1.742
date: 2004/09/30 09:48:57; author: ianmacd; state: Exp; lines: +3 -3
- add kghostview and kpdf for PostScript and PDF files
----------------------------
revision 1.741
date: 2004/09/20 15:58:30; author: ianmacd; state: Exp; lines: +2 -2
- allow mplayer to complete on .dv files
----------------------------
revision 1.740
date: 2004/07/23 00:41:37; author: ianmacd; state: Exp; lines: +2 -2
- grep doesn't support -q on Solaris, so send to /dev/null instead (reported
by Chris Dennis <Chris.Dennis@invidi.com>)
----------------------------
revision 1.739
date: 2004/07/19 08:45:15; author: ianmacd; state: Exp; lines: +5 -4
- CVS completion fix by Ville Skytt <ville.skytta@iki.fi>, to allow better
handling of files and dirs whose names contain whitespace
----------------------------
revision 1.738
date: 2004/07/19 08:43:10; author: ianmacd; state: Exp; lines: +10 -9
- rpm completion fix from Ville Skytt <ville.skytta@iki.fi> to avoid
"--nodigest --nosignatures" being passed as a single option.
----------------------------
revision 1.737
date: 2004/07/11 18:36:39; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20040711
----------------------------
revision 1.736
date: 2004/07/11 18:18:24; author: ianmacd; state: Exp; lines: +3 -3
- eliminate use of grep in _filedir_xspec() (patch by Claudio Bley
<bley@CS.uni-magdeburg.de>)
----------------------------
revision 1.735
date: 2004/07/06 06:10:33; author: ianmacd; state: Exp; lines: +2 -2
- minor fix to mutt completion
----------------------------
revision 1.734
date: 2004/07/05 23:45:00; author: ianmacd; state: Exp; lines: +6 -5
- fix for dpkg completion (patch by Itay Ben-Yaacov <nib_maps@yahoo.com>)
----------------------------
revision 1.733
date: 2004/07/05 23:35:36; author: ianmacd; state: Exp; lines: +2 -2
- allow symbolic links in /etc/bash_completion.d (patch by Ville Skytt
<ville.skytta@iki.fi>)
----------------------------
revision 1.732
date: 2004/07/05 23:31:47; author: ianmacd; state: Exp; lines: +3 -3
- improve insmod, modinfo etc completion with path names (patch by Ville
Skytt <ville.skytta@iki.fi>)
----------------------------
revision 1.731
date: 2004/07/04 01:47:31; author: ianmacd; state: Exp; lines: +2 -2
- release updated to 20040704
----------------------------
revision 1.730
date: 2004/07/04 01:40:08; author: ianmacd; state: Exp; lines: +3 -3
- '[' must come first in character classes for sed 4.1. _configure() needed to
be fixed.
----------------------------
revision 1.729
date: 2004/07/04 01:15:29; author: ianmacd; state: Exp; lines: +15 -4
mark-directories and mark-symlinked-directories are very convenient readline
settings which append a slash to a completed directory/symlinked directory.
Unfortunately, this doesn't work with directories found by looking at $CDPATH.
There is now also a slash appended if the user completes on an unambiguous
directory found by looking at $CDPATH.
Patch by Claudio Bley <bley@CS.uni-magdeburg.de>.
----------------------------
revision 1.728
date: 2004/07/04 00:56:08; author: ianmacd; state: Exp; lines: +10 -1
- add _rl_enabled() to detect whether a given readline variable is on. (patch
by Claudio Bley <bley@CS.uni-magdeburg.de>)
----------------------------
revision 1.727
date: 2004/07/04 00:51:18; author: ianmacd; state: Exp; lines: +21 -1
- pgrep and pidof completion by "Peter K. Jensen" <pekaje@gmx.net>
----------------------------
revision 1.726
date: 2004/07/04 00:31:33; author: ianmacd; state: Exp; lines: +9 -3
- use getent for UID and GID completion when available (based on a patch from
Guillaume Rousse <rousse@ccr.jussieu.fr>)
----------------------------
revision 1.725
date: 2004/07/04 00:26:29; author: ianmacd; state: Exp; lines: +9 -4
- allow service completion to work on xinetd services (patch by Guillaume
Rousse <rousse@ccr.jussieu.fr>)
----------------------------
revision 1.724
date: 2004/07/04 00:23:57; author: ianmacd; state: Exp; lines: +3 -2
- fix some spurious warnings in CVS completion (patch by Guillaume Rousse
<rousse@ccr.jussieu.fr>)
----------------------------
revision 1.723
date: 2004/07/04 00:20:34; author: ianmacd; state: Exp; lines: +3 -29
- use --dump-options with gpg to get viable options (much cleaner than listing
them all) (patch by Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>)
----------------------------
revision 1.722
date: 2004/07/04 00:11:09; author: ianmacd; state: Exp; lines: +8 -2
- fix mutt completion so that leading '=' character is handled properly
(patch from Joe Nahmias <joe@nahmias.net>)
----------------------------
revision 1.721
date: 2004/07/04 00:03:19; author: ianmacd; state: Exp; lines: +3 -2
- allow Emacs to complete on archives (patch from Frdric Bothamy
<frederic.bothamy@free.fr>)
----------------------------
revision 1.720
date: 2004/07/04 00:01:03; author: ianmacd; state: Exp; lines: +2 -2
- add autossh to list of commands that perform _ssh() completion
----------------------------
revision 1.719
date: 2004/06/18 07:40:28; author: ianmacd; state: Exp; lines: +3 -3
- properly complete on .Z files during tar completion
----------------------------
revision 1.718
date: 2004/06/14 07:59:41; author: ianmacd; state: Exp; lines: +2 -2
- add ssh-installkeys to list of programs that use known host completion
(Josh Glover <jmglov@jmglov.net>)
----------------------------
revision 1.717
date: 2004/06/14 07:56:58; author: ianmacd; state: Exp; lines: +4 -1
- Various OpenOffice completions from Ian Redfern <Ian.Redfern@LogicaCMG.com>
----------------------------
revision 1.716
date: 2004/06/01 08:08:18; author: ianmacd; state: Exp; lines: +15 -1
- fix PID completion for AIX and Solaris. Patch by Benjamin Floering
<floering@us.ibm.com>
----------------------------
revision 1.715
date: 2004/06/01 08:02:57; author: ianmacd; state: Exp; lines: +22 -9
- update to aptitude completion by Rafael Sepulveda <rsepulveda@gmail.com>
----------------------------
revision 1.714
date: 2004/05/26 07:20:56; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20040526
----------------------------
revision 1.713
date: 2004/05/26 07:15:28; author: ianmacd; state: Exp; lines: +56 -2
- info completion by Matt Perry <matt@primefactor.com>
----------------------------
revision 1.712
date: 2004/05/24 09:50:30; author: ianmacd; state: Exp; lines: +23 -18
- chkconfig factorisation and improvements by
Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.711
date: 2004/05/24 09:44:44; author: ianmacd; state: Exp; lines: +24 -2
- xmms(1) gets its own completion function.
Patch by Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.710
date: 2004/05/24 09:43:21; author: ianmacd; state: Exp; lines: +2 -2
- use filenames by default for cdrecord completion
----------------------------
revision 1.709
date: 2004/05/24 09:42:32; author: ianmacd; state: Exp; lines: +101 -1
- aspell completion by Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.708
date: 2004/05/24 09:12:31; author: ianmacd; state: Exp; lines: +8 -1
- add SuSE support for ifup/down and ifstatus, if present. Patch from
Jonathan <rise@knavery.net>
----------------------------
revision 1.707
date: 2004/05/24 09:00:23; author: ianmacd; state: Exp; lines: +20 -21
- improvement to _update_alternatives() by Ville Skytt <ville.skytta@iki.fi>
----------------------------
revision 1.706
date: 2004/05/24 08:28:20; author: ianmacd; state: Exp; lines: +3 -3
- minor fix to _command() to allow leading whitespace on the command line
----------------------------
revision 1.705
date: 2004/05/20 06:40:59; author: ianmacd; state: Exp; lines: +3 -3
- dpkg -P is not recognised or completed. Fix from Paul Brook <paul@nowt.org>
----------------------------
revision 1.704
date: 2004/05/16 00:07:21; author: ianmacd; state: Exp; lines: +2 -2
- don't allow aliases for grep to be used during make completion
----------------------------
revision 1.703
date: 2004/05/16 00:01:29; author: ianmacd; state: Exp; lines: +2 -2
- make mutt file completion actually work after redirection
----------------------------
revision 1.702
date: 2004/05/15 23:58:30; author: ianmacd; state: Exp; lines: +7 -7
- fix mutt sed errors after redirection
----------------------------
revision 1.701
date: 2004/05/11 18:06:08; author: ianmacd; state: Exp; lines: +4 -1
- builtin completes on builtins
----------------------------
revision 1.700
date: 2004/03/31 17:45:32; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20040331
----------------------------
revision 1.699
date: 2004/03/30 23:21:51; author: ianmacd; state: Exp; lines: +2 -2
- remove links from list of commands that complete on .html
----------------------------
revision 1.698
date: 2004/03/30 23:16:24; author: ianmacd; state: Exp; lines: +2 -2
- mplayer file extension additions from Michael Spurlock <mspurloc@us.ibm.com>
----------------------------
revision 1.697
date: 2004/03/30 23:01:33; author: ianmacd; state: Exp; lines: +15 -1
- CUPS cancel(1) completion by Jean-Baptiste Quenot <jb.quenot@caraldi.com>
----------------------------
revision 1.696
date: 2004/03/30 22:17:15; author: ianmacd; state: Exp; lines: +2 -2
- minor mkisofs fix
----------------------------
revision 1.695
date: 2004/03/30 22:16:07; author: ianmacd; state: Exp; lines: +2 -2
- add amaya to list of browsers
----------------------------
revision 1.694
date: 2004/03/30 22:15:33; author: ianmacd; state: Exp; lines: +3 -3
- _comp-dpkg-installed-packages() was not returning packages designated
'essential'
----------------------------
revision 1.693
date: 2004/03/30 22:12:09; author: ianmacd; state: Exp; lines: +26 -8
- allow cvs completion to handle the various sub-command abbreviataions, such
as 'di' for 'diff', etc. (patch from Chris Halls <halls@debian.org>)
----------------------------
revision 1.692
date: 2004/03/30 21:02:46; author: ianmacd; state: Exp; lines: +12 -5
- fix man and cc completion for Cygwin (patch by Mike Wittman
<mwittman@seismicmicro.com>)
----------------------------
revision 1.691
date: 2004/02/25 04:03:28; author: ianmacd; state: Exp; lines: +3 -3
- some versions of bash don't like function names containing hyphens
----------------------------
revision 1.690
date: 2004/02/15 03:45:21; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20040214
----------------------------
revision 1.689
date: 2004/02/14 10:28:58; author: ianmacd; state: Exp; lines: +3 -4
- big speed up for dpkg completion (patch from Philipp Weis <pweis@pweis.com>)
----------------------------
revision 1.688
date: 2004/02/13 08:47:38; author: ianmacd; state: Exp; lines: +7 -3
- fix chsh completion to work on Debian
----------------------------
revision 1.687
date: 2004/02/13 08:27:24; author: ianmacd; state: Exp; lines: +3 -1
- fix for ant completion by Itamar Almeida de Carvalho <itamar@oktiva.com.br>
----------------------------
revision 1.686
date: 2004/02/13 08:24:42; author: ianmacd; state: Exp; lines: +2 -2
- make 'make -f' completion work properly (fix from
Matthew Cheetah Gabeler-Lee <cheetah@fastcat.org>
----------------------------
revision 1.685
date: 2004/02/12 21:48:32; author: ianmacd; state: Exp; lines: +2 -2
- don't unset $have twice at end of script (fix from
Salve Nilsen <salve.nilsen@met.no>)
----------------------------
revision 1.684
date: 2004/02/12 21:37:39; author: ianmacd; state: Exp; lines: +2 -2
- fix up a continuation error in _filedir()
----------------------------
revision 1.683
date: 2004/02/10 09:33:22; author: ianmacd; state: Exp; lines: +2 -2
- update to release 20040210
----------------------------
revision 1.682
date: 2004/02/09 22:12:40; author: ianmacd; state: Exp; lines: +2 -2
- make apt-cache know about the rdepends option
(patch by Vince <loki@internode.on.net>)
----------------------------
revision 1.681
date: 2004/02/09 22:06:01; author: ianmacd; state: Exp; lines: +3 -2
- install yum-arch completion only if we also have yum
----------------------------
revision 1.680
date: 2004/02/09 22:02:48; author: ianmacd; state: Exp; lines: +34 -1
- dd completion by Andrew Taylor <ataylor@its.to>
----------------------------
revision 1.679
date: 2004/02/09 21:57:31; author: ianmacd; state: Exp; lines: +3 -3
- xine and mplayer can complete on .VOB files (previously, only .vob was
supported)
----------------------------
revision 1.678
date: 2004/02/09 21:52:35; author: ianmacd; state: Exp; lines: +3 -2
- make xspec parsing immune to comments (Debian bug #226812)
(fix by Immanuel Halupczok <debian@karimmi.de>)
----------------------------
revision 1.677
date: 2004/02/09 21:40:41; author: ianmacd; state: Exp; lines: +4 -9
- stop things like 'sudo mount<Tab>' from returning all possible completions
as a single argument.
Sigh. I no longer understand this function and I'm sure this has now
broken something else. This is simply impossible to get right. Shell
was never meant for anything this complicated. :-(
The breakage seems to have been introduced as part of 1.577.
----------------------------
revision 1.676
date: 2004/02/09 20:57:10; author: ianmacd; state: Exp; lines: +2 -2
- allow mplayer to complete on .m2v files, too
----------------------------
revision 1.675
date: 2004/02/09 20:52:56; author: ianmacd; state: Exp; lines: +5 -2
- make export completion do proper quoting when completing a variable's
value (patch from Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
----------------------------
revision 1.674
date: 2004/02/09 20:50:56; author: ianmacd; state: Exp; lines: +7 -4
- add 'up' as a synonym to 'update' in CVS completion (patch from
Ville Skytt <ville.skytta@iki.fi>
----------------------------
revision 1.673
date: 2004/02/09 20:49:11; author: ianmacd; state: Exp; lines: +2 -2
- xine can also complete on .asx files
----------------------------
revision 1.672
date: 2004/01/01 07:39:28; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20040101
----------------------------
revision 1.671
date: 2004/01/01 01:18:21; author: ianmacd; state: Exp; lines: +2 -2
- avoid pulling in .rpm* files from $BASH_COMPLETION_DIR/*
(fix by Ville Skytt <ville.skytta@iki.fi>)
----------------------------
revision 1.670
date: 2004/01/01 00:58:30; author: ianmacd; state: Exp; lines: +18 -1
- Postfix completion enhancement by Michael G <michaelg@amerion.net>
----------------------------
revision 1.669
date: 2004/01/01 00:51:46; author: ianmacd; state: Exp; lines: +16 -11
- wvdial patch from Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.668
date: 2004/01/01 00:48:05; author: ianmacd; state: Exp; lines: +4 -3
- FreeBSD portinstall fix from Jean-Baptiste Quenot <jb.quenot@caraldi.com>
----------------------------
revision 1.667
date: 2003/12/24 23:19:13; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20031225
----------------------------
revision 1.666
date: 2003/12/24 16:11:43; author: ianmacd; state: Exp; lines: +2 -2
- ogg123 can now handle .flac and .spx files
----------------------------
revision 1.665
date: 2003/12/15 19:02:22; author: ianmacd; state: Exp; lines: +53 -21
- mutt completion improvements by Rodrigo Bernardo Pimentel <rbp@isnomore.net>
----------------------------
revision 1.664
date: 2003/12/15 18:57:49; author: ianmacd; state: Exp; lines: +8 -2
- more improvements to find(1) completion by Rodrigo Bernardo Pimentel
<rbp@isnomore.net>
----------------------------
revision 1.663
date: 2003/12/15 18:54:17; author: ianmacd; state: Exp; lines: +2 -2
- forgot to update release
----------------------------
revision 1.662
date: 2003/12/15 09:49:51; author: ianmacd; state: Exp; lines: +13 -7
- find(1) completion improvements by Rodrigo Bernardo Pimentel
<rbp@isnomore.net>
----------------------------
revision 1.661
date: 2003/12/15 09:42:50; author: ianmacd; state: Exp; lines: +376 -3
- ImageMagick completion by Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.660
date: 2003/12/15 09:30:23; author: ianmacd; state: Exp; lines: +54 -54
- replace some white space
----------------------------
revision 1.659
date: 2003/12/15 09:09:01; author: ianmacd; state: Exp; lines: +2 -2
- allow gpdf to complete on PDF files
----------------------------
revision 1.658
date: 2003/12/12 11:10:49; author: ianmacd; state: Exp; lines: +8 -7
- apt-cache completion updates from Danilo Piazzalunga
<danilopiazza@libero.it>
----------------------------
revision 1.657
date: 2003/11/25 19:07:20; author: ianmacd; state: Exp; lines: +2 -2
- update version to 20031125
----------------------------
revision 1.656
date: 2003/11/25 18:37:37; author: ianmacd; state: Exp; lines: +97 -1
- first cut at mutt completion by Rodrigo Bernardo Pimentel <rbp@isnomore.net>
----------------------------
revision 1.655
date: 2003/11/19 19:11:25; author: ianmacd; state: Exp; lines: +2 -2
- user completion for w(1)
----------------------------
revision 1.654
date: 2003/11/15 08:59:13; author: ianmacd; state: Exp; lines: +52 -31
- yum completion improvements from Haakon Nilsen <haakon@ii.uib.no>
----------------------------
revision 1.653
date: 2003/11/12 10:20:42; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20031112
----------------------------
revision 1.652
date: 2003/11/12 10:19:52; author: ianmacd; state: Exp; lines: +4 -1
- default to file completion in perldoc, if current parameter contains
a slash
----------------------------
revision 1.651
date: 2003/11/12 10:10:52; author: ianmacd; state: Exp; lines: +4 -3
- further bogus matches removed from makefile completion
----------------------------
revision 1.650
date: 2003/11/05 19:41:32; author: ianmacd; state: Exp; lines: +2 -2
- add .aac and .mp4 support to mplayer
----------------------------
revision 1.649
date: 2003/11/04 00:27:29; author: ianmacd; state: Exp; lines: +3 -4
- remove bogus targets from make completion
----------------------------
revision 1.648
date: 2003/11/03 23:33:01; author: ianmacd; state: Exp; lines: +2 -2
- add support for matroska files to mplayer
----------------------------
revision 1.647
date: 2003/11/03 23:28:55; author: ianmacd; state: Exp; lines: +14 -1
- rpm -qf improvement by Gtz Waschk <waschk@informatik.uni-rostock.de>
----------------------------
revision 1.646
date: 2003/11/02 21:19:46; author: ianmacd; state: Exp; lines: +3 -1
- gzip should complete on .gz files after redirection
----------------------------
revision 1.645
date: 2003/10/30 22:40:28; author: ianmacd; state: Exp; lines: +2 -2
- bash 'command' built-in should also complete on commands
----------------------------
revision 1.644
date: 2003/10/22 09:16:51; author: ianmacd; state: Exp; lines: +2 -2
- update version to 20031022
----------------------------
revision 1.643
date: 2003/10/20 21:07:58; author: ianmacd; state: Exp; lines: +2 -2
- another unbound variable warning removed
----------------------------
revision 1.642
date: 2003/10/20 21:05:20; author: ianmacd; state: Exp; lines: +7 -3
- add URL for latest version of software
----------------------------
revision 1.641
date: 2003/10/17 08:51:32; author: ianmacd; state: Exp; lines: +3 -3
- add completion for vsound and really
----------------------------
revision 1.640
date: 2003/10/17 08:26:39; author: ianmacd; state: Exp; lines: +4 -3
- FreeBSD portinstall speed improvements from
Jean-Baptiste Quenot <jb.quenot@caraldi.com>
----------------------------
revision 1.639
date: 2003/10/17 08:24:30; author: ianmacd; state: Exp; lines: +2 -2
- ee and display also complete on .pcx files
----------------------------
revision 1.638
date: 2003/10/08 03:12:27; author: ianmacd; state: Exp; lines: +3 -3
- yum and yum-arch now use -o filenames
----------------------------
revision 1.637
date: 2003/10/07 08:50:16; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20031007
----------------------------
revision 1.636
date: 2003/10/07 08:42:33; author: ianmacd; state: Exp; lines: +18 -40
- more bash 3.x compatibility fixes
----------------------------
revision 1.635
date: 2003/10/07 08:17:33; author: ianmacd; state: Exp; lines: +65 -1
- yum(8) and yum-arch(8) completion by Ville Skytt <ville.skytta@iki.fi>
----------------------------
revision 1.634
date: 2003/10/07 08:02:00; author: ianmacd; state: Exp; lines: +50 -14
- compatibility fixes for bash 3.x
----------------------------
revision 1.633
date: 2003/10/07 06:50:08; author: ianmacd; state: Exp; lines: +2 -2
- ggv can also handle .bz2 files
----------------------------
revision 1.632
date: 2003/10/07 06:47:55; author: ianmacd; state: Exp; lines: +10 -2
- iptables fixes from Alexander Davydenko <mba@cs.tu-berlin.de>
----------------------------
revision 1.631
date: 2003/10/07 06:45:03; author: ianmacd; state: Exp; lines: +7 -6
- minor IPSec fixes
----------------------------
revision 1.630
date: 2003/09/29 18:08:05; author: ianmacd; state: Exp; lines: +2 -2
- update version to 20030929
----------------------------
revision 1.629
date: 2003/09/29 09:24:15; author: ianmacd; state: Exp; lines: +2 -2
- simple perl completion fix by Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.628
date: 2003/09/17 07:41:37; author: ianmacd; state: Exp; lines: +12 -17
- Java fixes from Markus Wiederkehr <wmax@gmx.net>
----------------------------
revision 1.627
date: 2003/09/13 17:06:14; author: ianmacd; state: Exp; lines: +1 -250
- urpmi completion removed; it's now maintained separately by
Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.626
date: 2003/09/13 16:49:49; author: ianmacd; state: Exp; lines: +33 -7
- postsuper patch from Liviu Daia <Liviu.Daia@imar.ro>
----------------------------
revision 1.625
date: 2003/09/13 08:24:24; author: ianmacd; state: Exp; lines: +3 -3
- .m3u completion for relevant tools
----------------------------
revision 1.624
date: 2003/09/11 23:16:44; author: ianmacd; state: Exp; lines: +2 -2
- update version to 20030911
----------------------------
revision 1.623
date: 2003/09/11 23:13:40; author: ianmacd; state: Exp; lines: +64 -9
- gzip and bzip2 rewrite by Liviu Daia <Liviu.Daia@imar.ro>
----------------------------
revision 1.622
date: 2003/09/11 23:04:10; author: ianmacd; state: Exp; lines: +2 -2
- really fix Java classpath thing
----------------------------
revision 1.621
date: 2003/09/11 00:50:30; author: ianmacd; state: Exp; lines: +5 -2
- fix service completion from completing on ~ and function files
----------------------------
revision 1.620
date: 2003/09/11 00:32:22; author: ianmacd; state: Exp; lines: +2 -2
- add .xpi files to unzip completion
----------------------------
revision 1.619
date: 2003/09/11 00:21:25; author: ianmacd; state: Exp; lines: +2 -2
- properly skip classpath string in Java completion
----------------------------
revision 1.618
date: 2003/08/22 07:12:51; author: ianmacd; state: Exp; lines: +3 -3
- minor ant completion fix by Bart Vanhaute <bart.vanhaute@skynet.be>
----------------------------
revision 1.617
date: 2003/08/21 09:55:40; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20030821
----------------------------
revision 1.616
date: 2003/08/19 18:52:31; author: ianmacd; state: Exp; lines: +2 -2
- bind pkill to same completion function as killall for now
----------------------------
revision 1.615
date: 2003/08/18 21:59:05; author: ianmacd; state: Exp; lines: +20 -1
- mc completion by Koblinger Egmont <egmont@uhulinux.hu>
----------------------------
revision 1.614
date: 2003/08/18 21:31:45; author: ianmacd; state: Exp; lines: +46 -6
- add postcat completion and make minor improvements to other Postfix
command completions (patch by Liviu Daia <Liviu.Daia@imar.ro>)
----------------------------
revision 1.613
date: 2003/08/18 09:54:07; author: ianmacd; state: Exp; lines: +11 -16
- make chown completion work, whether or not the colon between user and
group name is escaped (fix from Oliver Kiddle <okiddle@yahoo.co.uk>)
----------------------------
revision 1.612
date: 2003/08/18 09:33:29; author: ianmacd; state: Exp; lines: +2 -2
- allow rpm to complete on .nosrc.rpm packages
----------------------------
revision 1.611
date: 2003/08/17 17:21:48; author: ianmacd; state: Exp; lines: +2 -2
- xine can also play .wav files
----------------------------
revision 1.610
date: 2003/08/11 20:36:19; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20030811
----------------------------
revision 1.609
date: 2003/08/08 23:21:51; author: ianmacd; state: Exp; lines: +4 -4
- fix killall completion on bash 2.05a (by Liviu.Daia@imar.ro)
----------------------------
revision 1.608
date: 2003/08/05 17:41:40; author: ianmacd; state: Exp; lines: +18 -12
- more make completion fixes from Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.607
date: 2003/08/05 00:32:25; author: ianmacd; state: Exp; lines: +15 -5
- make _uids() and _gids() functions use Perl for getpwent(3)
----------------------------
revision 1.606
date: 2003/08/04 05:15:28; author: ianmacd; state: Exp; lines: +91 -5
- mkisofs completion by Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.605
date: 2003/08/04 01:40:25; author: ianmacd; state: Exp; lines: +7 -9
- minor reorganisation
----------------------------
revision 1.604
date: 2003/08/04 01:36:10; author: ianmacd; state: Exp; lines: +81 -3
- cdrecord completion by Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.603
date: 2003/08/03 04:02:32; author: ianmacd; state: Exp; lines: +3 -3
- update release to 20030803
----------------------------
revision 1.602
date: 2003/08/03 03:23:26; author: ianmacd; state: Exp; lines: +2 -2
- stop vi et al from completing on Java .class files
----------------------------
revision 1.601
date: 2003/08/03 03:19:30; author: ianmacd; state: Exp; lines: +58 -50
- 'make' completion rewrite by Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.600
date: 2003/08/03 03:07:38; author: ianmacd; state: Exp; lines: +3 -3
- turn --targetbuildarch into --target and --buildarch in rpm completion
- rpm's --rebuild and --recompile can also use --target
----------------------------
revision 1.599
date: 2003/08/03 02:57:49; author: ianmacd; state: Exp; lines: +36 -13
- tcpdump fixes from Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.598
date: 2003/08/03 02:52:43; author: ianmacd; state: Exp; lines: +170 -15
- mplayer improvements from Ariel Fermani <the_end@bbs.frc.utn.edu.ar>
----------------------------
revision 1.597
date: 2003/08/03 02:42:45; author: ianmacd; state: Exp; lines: +3 -1
- allow find completion to return filenames in addition to options if
completing on a null token
----------------------------
revision 1.596
date: 2003/07/29 04:19:03; author: ianmacd; state: Exp; lines: +5 -5
- some perldoc clean-up
----------------------------
revision 1.595
date: 2003/07/21 10:05:34; author: ianmacd; state: Exp; lines: +3 -3
- add --triggerscripts option to rpm completion
----------------------------
revision 1.594
date: 2003/07/21 07:59:24; author: ianmacd; state: Exp; lines: +2 -2
- update to 20030721
----------------------------
revision 1.593
date: 2003/07/20 09:52:57; author: ianmacd; state: Exp; lines: +5 -5
- .shtml completion for browsers
- extra extension completions for xine and xanim
- vim et all should not complete on .gz and .bz2 files
(all of the above by Ariel Fermani <the_end@bbs.frc.utn.edu.ar>)
----------------------------
revision 1.592
date: 2003/07/20 09:45:06; author: ianmacd; state: Exp; lines: +26 -14
- mplayer fixes and improvements from Ariel Fermani
<the_end@bbs.frc.utn.edu.ar>
----------------------------
revision 1.591
date: 2003/07/20 08:46:37; author: ianmacd; state: Exp; lines: +3 -3
- dselect fix by Ariel Fermani <the_end@bbs.frc.utn.edu.ar>
----------------------------
revision 1.590
date: 2003/07/13 08:12:26; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20030713
----------------------------
revision 1.589
date: 2003/07/13 03:37:07; author: ianmacd; state: Exp; lines: +2 -2
- _iwfconfig() typo fix by Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.588
date: 2003/07/11 09:22:55; author: ianmacd; state: Exp; lines: +9 -4
- allow find to search through more than one directory root
(fix derived from patch by Denis McLaughlin <denism@cyberus.ca>)
----------------------------
revision 1.587
date: 2003/07/11 08:48:07; author: ianmacd; state: Exp; lines: +5 -4
- update rpm completion for rpm 4.2 (patch from Gtz Waschk
<waschk@informatik.uni-rostock.de>)
----------------------------
revision 1.586
date: 2003/07/11 08:30:59; author: ianmacd; state: Exp; lines: +9 -4
- modify kldload and portinstall completion for FreeBSD 5
(patch from Jean-Baptiste Quenot <jb.quenot@caraldi.com>)
----------------------------
revision 1.585
date: 2003/06/30 01:41:57; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20030630
----------------------------
revision 1.584
date: 2003/06/30 01:35:57; author: ianmacd; state: Exp; lines: +4 -3
- fix process truncation problem with killall completion
----------------------------
revision 1.583
date: 2003/06/23 15:54:01; author: ianmacd; state: Exp; lines: +4 -3
- psql update from Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.582
date: 2003/06/23 15:39:59; author: ianmacd; state: Exp; lines: +4 -3
- new urpmi update from Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.581
date: 2003/06/18 00:18:30; author: ianmacd; state: Exp; lines: +2 -2
- allow mplayer to complete on .dump files
----------------------------
revision 1.580
date: 2003/06/10 21:55:30; author: ianmacd; state: Exp; lines: +2 -2
- add xhost to host completion
----------------------------
revision 1.579
date: 2003/06/07 23:23:49; author: ianmacd; state: Exp; lines: +4 -3
- update release to 20030607
----------------------------
revision 1.578
date: 2003/06/07 23:11:27; author: ianmacd; state: Exp; lines: +6 -1
- some standard make commands (e.g. make world) for FreeBSD
----------------------------
revision 1.577
date: 2003/06/07 23:09:34; author: ianmacd; state: Exp; lines: +35 -27
- patch from Ilya <ilya@po4ta.com> to fix _command(), so that (in his words):
- Now work ok for commands with spaces
- Work if command completion is set with complete -W '...'
- Work in case when complete -F function and function use COMP_POINT or
COMP_LINE
- Fixed bug of incorrect completion list in case 'sudo vim <Tab>'
----------------------------
revision 1.576
date: 2003/06/07 22:59:37; author: ianmacd; state: Exp; lines: +7 -5
- make ifconfig completion work on FreeBSD, too
----------------------------
revision 1.575
date: 2003/06/07 22:46:04; author: ianmacd; state: Exp; lines: +3 -3
- explicit path to postconf(1) for Postfix completion
----------------------------
revision 1.574
date: 2003/06/02 02:41:33; author: ianmacd; state: Exp; lines: +2 -2
- minor mount completion fix
----------------------------
revision 1.573
date: 2003/06/01 20:44:41; author: ianmacd; state: Exp; lines: +2 -2
- make .html completion case-insensitive
----------------------------
revision 1.572
date: 2003/06/01 20:09:45; author: ianmacd; state: Exp; lines: +1 -2
- fix FreeBSD portinstall completion
----------------------------
revision 1.571
date: 2003/05/26 18:22:44; author: ianmacd; state: Exp; lines: +4 -2
- minor apt-cache completion fix
----------------------------
revision 1.570
date: 2003/05/26 18:17:05; author: ianmacd; state: Exp; lines: +14 -3
- handle the case whereby we're sourced from a shell function
----------------------------
revision 1.569
date: 2003/05/26 06:50:45; author: ianmacd; state: Exp; lines: +4 -3
- dpkg completion was missing the -x option
----------------------------
revision 1.568
date: 2003/05/21 17:01:42; author: ianmacd; state: Exp; lines: +2 -2
- add pkg_delete and pkg_info back onto FreeBSD commands that use
_pkg_delete()
----------------------------
revision 1.567
date: 2003/05/21 09:57:58; author: ianmacd; state: Exp; lines: +26 -2
- add FreeBSD portinstall completion (patch by Jean-Baptiste Quenot
<jb.quenot@caraldi.com>)
----------------------------
revision 1.566
date: 2003/05/17 09:55:11; author: ianmacd; state: Exp; lines: +6 -6
- various bits of code referred to ${#COMP_WORDS} instead of ${#COMP_WORDS[@]}
----------------------------
revision 1.565
date: 2003/05/17 09:52:42; author: ianmacd; state: Exp; lines: +2 -2
- silence stderr in man invocation in perldoc completion
----------------------------
revision 1.564
date: 2003/05/16 07:12:14; author: ianmacd; state: Exp; lines: +2 -2
- make insmod/modprobe completion handle .ko files for the 2.5/2.6 Linux kernel
----------------------------
revision 1.563
date: 2003/05/06 08:39:49; author: ianmacd; state: Exp; lines: +8 -2
- modify _cd() to make an attempt at variable completion
----------------------------
revision 1.562
date: 2003/05/05 06:48:30; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20030505
----------------------------
revision 1.561
date: 2003/05/04 18:35:17; author: ianmacd; state: Exp; lines: +2 -2
- rpm completion was broken for Mandrake 9.1. Its rpm 4.0.4 doesn't allow
--nodigest
----------------------------
revision 1.560
date: 2003/05/01 05:42:25; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20030501
----------------------------
revision 1.559
date: 2003/04/29 07:38:32; author: ianmacd; state: Exp; lines: +3 -2
- minor fix to _insmod() to get modprobe -k <Tab> to do something.
patch from Josh Rosenau <jrosenau@ukans.edu>
----------------------------
revision 1.558
date: 2003/04/29 07:28:10; author: ianmacd; state: Exp; lines: +18 -8
- some rpm completion speed-ups, adapted from a patch by Dag Wieers
<dag@wieers.com>
----------------------------
revision 1.557
date: 2003/04/29 02:24:20; author: ianmacd; state: Exp; lines: +35 -36
- new urpmi completion patch from Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.556
date: 2003/04/26 02:33:16; author: ianmacd; state: Exp; lines: +2 -2
- add --target to rpm -[bt] completion
----------------------------
revision 1.555
date: 2003/04/23 07:30:46; author: ianmacd; state: Exp; lines: +26 -21
- more urpmi updates from Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.554
date: 2003/04/20 22:30:40; author: ianmacd; state: Exp; lines: +2 -2
- allow xmms to complete on .mp2 files
----------------------------
revision 1.553
date: 2003/04/20 22:19:55; author: ianmacd; state: Exp; lines: +3 -3
- fix scp completion problem where 'scp file\ <Tab>' did not complete for
a file with a space in the name
----------------------------
revision 1.552
date: 2003/04/20 22:15:38; author: ianmacd; state: Exp; lines: +3 -2
- make have() user a wider path for searching for binaries on the system.
This enables completion functions for more binaries present on the system
to be installed
----------------------------
revision 1.551
date: 2003/04/20 21:53:43; author: ianmacd; state: Exp; lines: +10 -9
- fix up command completion noglob stuff ('sudo service' was broken, for
example)
----------------------------
revision 1.550
date: 2003/04/20 21:28:17; author: ianmacd; state: Exp; lines: +17 -16
- urpmi completion update from Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.549
date: 2003/04/19 08:52:57; author: ianmacd; state: Exp; lines: +3 -3
- fix FreeBSD ports programs completion
----------------------------
revision 1.548
date: 2003/04/19 07:44:04; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20030419
----------------------------
revision 1.547
date: 2003/04/19 07:43:41; author: ianmacd; state: Exp; lines: +10 -2
- fix for sudo completion when subcommand is passed wildcard globs
(patch by Lucien Saviot <Lucien.Saviot@u-bourgogne.fr>)
----------------------------
revision 1.546
date: 2003/04/19 01:12:37; author: ianmacd; state: Exp; lines: +17 -10
- minor improvement to --export completion of gpg and the addition of
--recipient completion (patch by jens.heunemann@tngtech.com)
----------------------------
revision 1.545
date: 2003/04/17 09:38:27; author: ianmacd; state: Exp; lines: +2 -2
- somehow, _expand had been disabled by a stray colon, so that ~user would
be expanded, but ~user/foo* would not
----------------------------
revision 1.544
date: 2003/04/15 08:54:50; author: ianmacd; state: Exp; lines: +74 -2
- move dict completion into main file and rewrite from scratch
----------------------------
revision 1.543
date: 2003/04/14 09:42:09; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20030414
----------------------------
revision 1.542
date: 2003/04/14 08:35:23; author: ianmacd; state: Exp; lines: +28 -1
- added completion for iconv(1)
----------------------------
revision 1.541
date: 2003/04/12 05:05:37; author: ianmacd; state: Exp; lines: +3 -3
- make apt-cache complete the showsrc argument
----------------------------
revision 1.540
date: 2003/04/08 07:48:47; author: ianmacd; state: Exp; lines: +19 -1
- KDE dcop completion by Haakon Nilsen <haakon.nilsen@student.uib.no>
----------------------------
revision 1.539
date: 2003/03/29 08:29:49; author: ianmacd; state: Exp; lines: +2 -2
- fix another unset variable warning in CVS completion
----------------------------
revision 1.538
date: 2003/03/27 09:07:11; author: ianmacd; state: Exp; lines: +2 -2
- update to release 20030327
----------------------------
revision 1.537
date: 2003/03/27 07:48:09; author: ianmacd; state: Exp; lines: +38 -37
- when completing on file in /etc/init.d, only complete if we really are
dealing with the init script, not a stand-alone file of the same name
----------------------------
revision 1.536
date: 2003/03/18 00:34:02; author: ianmacd; state: Exp; lines: +2 -2
- fix core file completion in gdb
----------------------------
revision 1.535
date: 2003/02/27 09:31:14; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20030227
----------------------------
revision 1.534
date: 2003/02/27 09:30:07; author: ianmacd; state: Exp; lines: +3 -2
- exclude mysql init script from completion, as it clashes with completion
for stand-alone mysql
----------------------------
revision 1.533
date: 2003/02/26 01:17:54; author: ianmacd; state: Exp; lines: +11 -11
- patch from Oliver Kiddle to make bash-completion compatible with the
new bash completion emulation feature of zsh
----------------------------
revision 1.532
date: 2003/02/18 21:35:56; author: ianmacd; state: Exp; lines: +2 -2
- exclude ssh from service completion, as it clashes with regular ssh
completion on Debian
----------------------------
revision 1.531
date: 2003/02/16 08:39:26; author: ianmacd; state: Exp; lines: +2 -2
- add .tga completion to ee and display
----------------------------
revision 1.530
date: 2003/02/10 07:55:22; author: ianmacd; state: Exp; lines: +3 -3
- make slay complete on users and don't redefine su completion
----------------------------
revision 1.529
date: 2003/02/09 09:14:09; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20030209
----------------------------
revision 1.528
date: 2003/02/08 07:33:51; author: ianmacd; state: Exp; lines: +14 -2
- allow 'cvs -d' to complete from ~/.cvspass (modified patch from
Rodrigo Damazio <rodrigo.damazio@poli.usp.br>)
----------------------------
revision 1.527
date: 2003/02/07 18:04:35; author: ianmacd; state: Exp; lines: +3 -3
- don't append spaces after directories when doing mount completion
- allow default completion if there are no matches during make completion
----------------------------
revision 1.526
date: 2003/02/06 19:08:16; author: ianmacd; state: Exp; lines: +2 -2
- allow Java completion to cover .ear files (J2EE Enterprise Application
aRchive)
----------------------------
revision 1.525
date: 2003/02/06 19:06:29; author: ianmacd; state: Exp; lines: +7 -7
- silence more unset variable warnings in CVS completion
----------------------------
revision 1.524
date: 2003/02/01 22:39:25; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20030201
----------------------------
revision 1.523
date: 2003/01/30 09:22:43; author: ianmacd; state: Exp; lines: +13 -9
- make service completion Debian compatible
----------------------------
revision 1.522
date: 2003/01/30 08:56:28; author: ianmacd; state: Exp; lines: +95 -2
- rsync completion by Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.521
date: 2003/01/30 08:41:42; author: ianmacd; state: Exp; lines: +2 -2
- minor cvs fix
----------------------------
revision 1.520
date: 2003/01/27 00:41:23; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20030126
----------------------------
revision 1.519
date: 2003/01/25 22:22:16; author: ianmacd; state: Exp; lines: +5 -5
- silence more unset variable warnings in cvs completion
(patch from "Irlapati, Samuel J." <samuel.irlapati@unisys.com>)
----------------------------
revision 1.518
date: 2003/01/25 22:11:18; author: ianmacd; state: Exp; lines: +3 -1
- minor fix to ant completion from Jean-Baptiste Quenot <jb.quenot@caraldi.com>
----------------------------
revision 1.517
date: 2003/01/21 08:21:15; author: ianmacd; state: Exp; lines: +5 -3
- make completion now also supports GNUmakefile
----------------------------
revision 1.516
date: 2003/01/21 07:37:44; author: ianmacd; state: Exp; lines: +5 -4
- make modinfo complete the same as insmod and modprobe
----------------------------
revision 1.515
date: 2003/01/18 09:36:22; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20030118
----------------------------
revision 1.514
date: 2003/01/17 10:09:59; author: ianmacd; state: Exp; lines: +15 -2
- improve handling of 'cvs export' (patch by Liviu Daia <Liviu.Daia@imar.ro>)
----------------------------
revision 1.513
date: 2003/01/17 10:01:29; author: ianmacd; state: Exp; lines: +9 -4
- fix mount completion so that it also works on Solaris
----------------------------
revision 1.512
date: 2003/01/17 09:54:32; author: ianmacd; state: Exp; lines: +9 -9
- fixes to man completion to make it work on Solaris
(patch by Pablo Mejia <pjm@cctechnol.com>)
----------------------------
revision 1.511
date: 2003/01/13 16:31:21; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20030113
----------------------------
revision 1.510
date: 2003/01/13 16:30:56; author: ianmacd; state: Exp; lines: +2 -2
- allow vim et al to complete on .a files
----------------------------
revision 1.509
date: 2003/01/13 03:30:37; author: ianmacd; state: Exp; lines: +6 -2
- cd should also complete on variable names if cdable_vars is set
----------------------------
revision 1.508
date: 2003/01/13 03:28:28; author: ianmacd; state: Exp; lines: +2 -3
- jar completes on .war as well as .jar
----------------------------
revision 1.507
date: 2003/01/09 11:44:29; author: ianmacd; state: Exp; lines: +14 -6
- when completing on classes inside Java JAR files, use zipinfo instead of
the jar command, if it is available
----------------------------
revision 1.506
date: 2003/01/09 11:25:58; author: ianmacd; state: Exp; lines: +2 -2
- silence awk errors in known_hosts completion
----------------------------
revision 1.505
date: 2003/01/02 02:04:42; author: ianmacd; state: Exp; lines: +2 -2
- allow vi(m) to complete on ld.so.conf
----------------------------
revision 1.504
date: 2002/12/31 17:00:06; author: ianmacd; state: Exp; lines: +2 -2
branches: 1.504.2;
- update release to 20021231
----------------------------
revision 1.503
date: 2002/12/31 03:15:25; author: ianmacd; state: Exp; lines: +4 -4
- minor known_hosts() fix
----------------------------
revision 1.502
date: 2002/12/31 02:59:25; author: ianmacd; state: Exp; lines: +59 -2
- extensive gpg(1) completion (more than just longopts, anyway) by
"Guillaume Rousse" <rousse@ccr.jussieu.fr> with fix-ups by me
----------------------------
revision 1.501
date: 2002/12/31 02:40:22; author: ianmacd; state: Exp; lines: +43 -1
- wvdial(1) completion by "Guillaume Rousse" <rousse@ccr.jussieu.fr>
----------------------------
revision 1.500
date: 2002/12/30 22:23:21; author: ianmacd; state: Exp; lines: +142 -86
- mplayer improvements from Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.499
date: 2002/12/23 18:28:54; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20021223
----------------------------
revision 1.498
date: 2002/12/23 08:53:48; author: ianmacd; state: Exp; lines: +2 -2
- add groups(1) to list of commands that complete on user names
----------------------------
revision 1.497
date: 2002/12/23 08:52:37; author: ianmacd; state: Exp; lines: +2 -2
- add dig to commands that complete on known hosts
----------------------------
revision 1.496
date: 2002/12/23 08:51:39; author: ianmacd; state: Exp; lines: +5 -3
- in known hosts completion, check for known hosts files in
/etc/ssh/ssh_known_hosts and /etc/ssh/ssh_known_hosts2
----------------------------
revision 1.495
date: 2002/12/22 18:45:02; author: ianmacd; state: Exp; lines: +8 -7
- mplayer fixes
----------------------------
revision 1.494
date: 2002/12/22 18:29:34; author: ianmacd; state: Exp; lines: +2 -2
- Java classpath string was not being skipped
----------------------------
revision 1.493
date: 2002/12/21 06:47:34; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20021221
----------------------------
revision 1.492
date: 2002/12/19 21:57:36; author: ianmacd; state: Exp; lines: +2 -2
- minor removepkg fix
----------------------------
revision 1.491
date: 2002/12/19 21:56:47; author: ianmacd; state: Exp; lines: +110 -3
- proper mplayer completion by Peter Valach <pvalach@gmx.net>
----------------------------
revision 1.490
date: 2002/12/18 19:15:46; author: ianmacd; state: Exp; lines: +61 -58
- reinstate Samuel J. Irlapati's patch to avoid unbound variable warnings
when bash is run with 'set -u'. This also fixes a CVS completion error
if CVS completion is attempted in a directory with no CVS/Entries file.
Patch was modified to test for set variables with -n, rather than ! -z.
----------------------------
revision 1.489
date: 2002/12/17 09:43:45; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20021217
----------------------------
revision 1.488
date: 2002/12/16 20:48:58; author: ianmacd; state: Exp; lines: +5 -4
- tar should also be able to recognise .tar.Z (or .tZ for that matter) files
----------------------------
revision 1.487
date: 2002/12/14 02:17:43; author: ianmacd; state: Exp; lines: +2 -1
- perldoc completion also returns names of core Perl man pages
----------------------------
revision 1.486
date: 2002/12/13 05:12:34; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20021213
----------------------------
revision 1.485
date: 2002/12/10 17:05:31; author: ianmacd; state: Exp; lines: +51 -52
- revert unbound variable patch
----------------------------
revision 1.484
date: 2002/12/10 01:30:08; author: ianmacd; state: Exp; lines: +6 -5
- ytalk now completes in the same way as talk
- traceroute6, tracepath and tracepath6 now also complete on known hosts
- command completion now also performed for ltrace, then, else and do
(patches from Koblinger Egmont <egmont@uhulinux.hu>)
----------------------------
revision 1.483
date: 2002/12/09 21:48:15; author: ianmacd; state: Exp; lines: +52 -51
- fix a lot of variable tests to avoid 'unbound variable' warnings when
running bash with 'set -u' (some still remain, but the file now at least
sources without warnings) (patch by Samuel Irlapati
<samuel.irlapati@unisys.com>)
----------------------------
revision 1.482
date: 2002/12/09 21:35:37; author: ianmacd; state: Exp; lines: +2 -2
- minor fix to gdb completion
----------------------------
revision 1.481
date: 2002/12/06 22:43:02; author: ianmacd; state: Exp; lines: +2 -2
- commands that complete on .htm(l) files now complete on .(x)htm(l)
----------------------------
revision 1.480
date: 2002/12/05 21:43:10; author: ianmacd; state: Exp; lines: +12 -8
- fix ypmatch completion
- update release to 20021205
----------------------------
revision 1.479
date: 2002/12/05 17:58:26; author: ianmacd; state: Exp; lines: +8 -5
- ypmatch takes parameters of key, map -- not map, key -- so key completion
is not possible
----------------------------
revision 1.478
date: 2002/12/05 06:31:42; author: ianmacd; state: Exp; lines: +22 -1
- first stab at ypmatch(1) and ypcat(1) completion
----------------------------
revision 1.477
date: 2002/12/05 05:22:22; author: ianmacd; state: Exp; lines: +8 -8
- check for insmod and rmmod in path before installing completion functions
----------------------------
revision 1.476
date: 2002/12/05 02:58:28; author: ianmacd; state: Exp; lines: +2 -2
- add rcsdiff to list of RCS commands that use RCS completion function
----------------------------
revision 1.475
date: 2002/12/05 02:56:19; author: ianmacd; state: Exp; lines: +25 -22
- don't bother completing on PIDs in screen completion
(patch by Jean-Baptiste Quenot <jb.quenot@caraldi.com>)
----------------------------
revision 1.474
date: 2002/12/05 02:52:56; author: ianmacd; state: Exp; lines: +29 -5
- add FreeBSD portupgrade completion
(from Jean-Baptiste Quenot <jb.quenot@caraldi.com>)
----------------------------
revision 1.473
date: 2002/12/05 02:47:49; author: ianmacd; state: Exp; lines: +30 -4
- add FreeBSD kernel module command completion (patch from
Jean-Baptiste Quenot <jb.quenot@caraldi.com>)
----------------------------
revision 1.472
date: 2002/12/05 02:31:52; author: ianmacd; state: Exp; lines: +2 -2
- add .zargo to list of extensions that unzip can complete on (this is for
Gentleware)
----------------------------
revision 1.471
date: 2002/12/05 02:18:17; author: ianmacd; state: Exp; lines: +3 -2
- don't source files in $BASH_COMPLETION_DIR if they are vi swap files,
Debian back-ups, Emacs temp files, back-ups, etc.
----------------------------
revision 1.470
date: 2002/12/04 07:41:21; author: ianmacd; state: Exp; lines: +2 -2
- don't source files in $BASH_COMPLETION_DIR if they end in ~ or .bak
----------------------------
revision 1.469
date: 2002/12/04 07:26:35; author: ianmacd; state: Exp; lines: +2 -2
- add .flac completion to xmms
----------------------------
revision 1.468
date: 2002/12/04 07:25:47; author: ianmacd; state: Exp; lines: +2 -2
- make dpkg completion also handle .udeb files
----------------------------
revision 1.467
date: 2002/12/04 07:17:47; author: ianmacd; state: Exp; lines: +2 -2
- dpkg completion completes for -c as for --contents
----------------------------
revision 1.466
date: 2002/12/04 05:43:34; author: ianmacd; state: Exp; lines: +2 -2
- make gzip work with .tgz files, not just .gz files
----------------------------
revision 1.465
date: 2002/12/04 05:37:03; author: ianmacd; state: Exp; lines: +2 -2
- make ee and display complete on .pnm and .xwd files
----------------------------
revision 1.464
date: 2002/12/04 05:32:06; author: ianmacd; state: Exp; lines: +2 -2
- minor rpm fix
----------------------------
revision 1.463
date: 2002/12/04 05:02:12; author: ianmacd; state: Exp; lines: +3 -3
- make texi2dvi complete like other LaTeX programs
----------------------------
revision 1.462
date: 2002/10/26 06:11:59; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20021026
----------------------------
revision 1.461
date: 2002/10/26 06:04:45; author: ianmacd; state: Exp; lines: +51 -19
- Mandrake urpmi completion improvements from Guillaume Rousse
<rousse@ccr.jussieu.fr>
----------------------------
revision 1.460
date: 2002/10/26 05:54:48; author: ianmacd; state: Exp; lines: +3 -2
- .wav completion for mplayer
----------------------------
revision 1.459
date: 2002/10/25 22:45:23; author: ianmacd; state: Exp; lines: +10 -11
- more scp fixes and simplifications
----------------------------
revision 1.458
date: 2002/10/23 16:05:16; author: ianmacd; state: Exp; lines: +17 -1
- very basic look(1) completion
----------------------------
revision 1.457
date: 2002/10/23 15:50:04; author: ianmacd; state: Exp; lines: +2 -2
- previous fix to man completion when completing on name with '.' in it,
broke completion on names with colons in them. This fixes that.
----------------------------
revision 1.456
date: 2002/10/22 20:23:41; author: ianmacd; state: Exp; lines: +3 -3
- use external ls in scp completion if an alias has been defined
----------------------------
revision 1.455
date: 2002/10/22 16:00:22; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20021022
----------------------------
revision 1.454
date: 2002/10/22 15:59:44; author: ianmacd; state: Exp; lines: +10 -11
- get rid of scp helper function, as interpolation is subject to error
----------------------------
revision 1.453
date: 2002/10/21 06:42:40; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20021021
----------------------------
revision 1.452
date: 2002/10/20 22:20:49; author: ianmacd; state: Exp; lines: +7 -3
- PID is optional in screen completion
(patch from Jean-Baptiste Quenot <jb.quenot@caraldi.com>)
----------------------------
revision 1.451
date: 2002/10/20 22:11:21; author: ianmacd; state: Exp; lines: +11 -7
- redirect stderr to /dev/null when performing remote path completion for
scp
- factor out the scp ls completion code into its own function, as we need to
call this once remotely and once locally
----------------------------
revision 1.450
date: 2002/10/20 06:56:41; author: ianmacd; state: Exp; lines: +6 -5
- references to ps now use command built-in to avoid ps calling alias or
function on systems where those are in use
----------------------------
revision 1.449
date: 2002/10/17 20:51:25; author: ianmacd; state: Exp; lines: +4 -4
- fix sockets being returned in scp completon
- fix FreeBSD pkg_delete completion
----------------------------
revision 1.448
date: 2002/10/17 07:20:05; author: ianmacd; state: Exp; lines: +5 -5
- update release to 20021017
----------------------------
revision 1.447
date: 2002/10/17 05:33:24; author: ianmacd; state: Exp; lines: +13 -5
- scp completion fixes
- don't escape : with \
- doesn't require bash on remote machine
- deal properly with file names containing spaces
(patch by Lucien Saviot <Lucien.Saviot@u-bourgogne.fr>, with minor
alterations from me)
----------------------------
revision 1.446
date: 2002/10/17 05:01:21; author: ianmacd; state: Exp; lines: +19 -2
- simplify FreeBSD pkg_delete completion, so that it doesn't need sed
- add Slackware Linux removepkg completion (by Christian Birchinger
<joker@netswarm.net>)
----------------------------
revision 1.445
date: 2002/10/17 03:18:34; author: ianmacd; state: Exp; lines: +16 -1
- add FreeBSD pkg_delete and pkg_info completion
(patch by Jean-Baptiste Quenot <jb.quenot@caraldi.com>)
----------------------------
revision 1.444
date: 2002/10/17 03:05:29; author: ianmacd; state: Exp; lines: +2 -2
- Perl module completion loops endlessly if an element of the @INC path does
not exist and there are subdirectories in the current directory
(patch from Alexander Kreuzer <alex@flotzen.de>)
----------------------------
revision 1.443
date: 2002/10/17 02:53:37; author: ianmacd; state: Exp; lines: +2 -2
- minor fix to apt-build completion
----------------------------
revision 1.442
date: 2002/10/17 02:47:30; author: ianmacd; state: Exp; lines: +2 -2
- allow xmms to also complete on .wav files
----------------------------
revision 1.441
date: 2002/10/16 00:09:09; author: ianmacd; state: Exp; lines: +2 -3
- return core files in gdb completion
----------------------------
revision 1.440
date: 2002/10/14 19:57:15; author: ianmacd; state: Exp; lines: +2 -2
- tar file completion on files within .bz2 archives did not work
----------------------------
revision 1.439
date: 2002/10/14 18:56:46; author: ianmacd; state: Exp; lines: +2 -2
- in _tar(), don't perform regular file completion when completing on files
inside tar files
----------------------------
revision 1.438
date: 2002/10/13 18:06:00; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20021013
----------------------------
revision 1.437
date: 2002/10/13 03:46:49; author: ianmacd; state: Exp; lines: +90 -58
various fixes from Rafael Seplveda <drs@gnulinux.org.mx>
- fixed apt-cache 'show' completion bug
- fixed function names with hyphens
- aptitude completion function was loaded, regardless of presence of program
- various improvements to other Debian commands
----------------------------
revision 1.436
date: 2002/10/10 15:43:38; author: ianmacd; state: Exp; lines: +2 -2
- mount completion should ignore commented out lines in /etc/fstab
----------------------------
revision 1.435
date: 2002/10/10 08:38:05; author: ianmacd; state: Exp; lines: +37 -5
- add option completion to Python
- make Python completion append a '/' at the end of directories
(use -o filenames rather than -o default to compgen)
(patch by Rafael Seplveda <drs@gnulinux.org.mx>)
----------------------------
revision 1.434
date: 2002/10/09 07:29:14; author: ianmacd; state: Exp; lines: +2 -2
- offer --force-confmiss, not --force-miss with dpkg completion
----------------------------
revision 1.433
date: 2002/10/08 07:00:57; author: ianmacd; state: Exp; lines: +4 -1
- perform file completion with ssh when -i is given
----------------------------
revision 1.432
date: 2002/10/07 16:31:47; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20021007
----------------------------
revision 1.431
date: 2002/10/07 16:27:01; author: ianmacd; state: Exp; lines: +2 -2
- back out double hostname fix for scp
----------------------------
revision 1.430
date: 2002/10/06 22:24:18; author: ianmacd; state: Exp; lines: +2 -2
- fix error message when using insmod to complete on a file in ..
----------------------------
revision 1.429
date: 2002/10/05 21:33:03; author: ianmacd; state: Exp; lines: +9 -2
- option completion for find had mysteriously disappeared
----------------------------
revision 1.428
date: 2002/10/05 09:48:48; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20021005
----------------------------
revision 1.427
date: 2002/10/05 09:34:57; author: ianmacd; state: Exp; lines: +2 -2
- make jar completion accept a leading dash to its option list
(patch by "C. Scott Ananian" <cananian@lesser-magoo.lcs.mit.edu>)
----------------------------
revision 1.426
date: 2002/10/05 09:33:14; author: ianmacd; state: Exp; lines: +3 -4
- fix cvs counting bug
(patch by "C. Scott Ananian" <cananian@lesser-magoo.lcs.mit.edu>
----------------------------
revision 1.425
date: 2002/10/05 09:31:43; author: ianmacd; state: Exp; lines: +26 -5
- make java completion aware of -jar
----------------------------
revision 1.424
date: 2002/10/05 08:08:53; author: ianmacd; state: Exp; lines: +6 -6
- silence some apt-cache complaints in various completions
(patch by Rafael Seplveda <drs@gnulinux.org.mx>)
----------------------------
revision 1.423
date: 2002/10/05 08:03:21; author: ianmacd; state: Exp; lines: +4 -2
- avoid awk error message in rmmod completion and grep error message in
mount completion, when attempting to complete on a backslash
----------------------------
revision 1.422
date: 2002/10/05 07:52:37; author: ianmacd; state: Exp; lines: +3 -3
- avoid double machine name bug in scp
----------------------------
revision 1.421
date: 2002/10/02 03:32:40; author: ianmacd; state: Exp; lines: +94 -66
- many Debian command updates from Rafael Seplveda <drs@gnulinux.org.mx>
----------------------------
revision 1.420
date: 2002/10/01 09:06:01; author: ianmacd; state: Exp; lines: +3 -1
- check for existence of links history file in links completion
----------------------------
revision 1.419
date: 2002/10/01 08:57:31; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20021001
----------------------------
revision 1.418
date: 2002/10/01 08:55:38; author: ianmacd; state: Exp; lines: +37 -2
- links completion by Alan Ford <alan@whirlnet.co.uk>
----------------------------
revision 1.417
date: 2002/10/01 08:07:33; author: ianmacd; state: Exp; lines: +3 -3
- some quoting changes to make life easier for Emacs users
----------------------------
revision 1.416
date: 2002/10/01 05:57:54; author: ianmacd; state: Exp; lines: +3 -3
- fix quoting issue in chown and chgrp completion
----------------------------
revision 1.415
date: 2002/09/28 18:48:02; author: ianmacd; state: Exp; lines: +3 -5
- apt-build completion was always installed, even if not present
----------------------------
revision 1.414
date: 2002/09/28 18:38:50; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20020928
----------------------------
revision 1.413
date: 2002/09/28 18:33:12; author: ianmacd; state: Exp; lines: +23 -20
- add some options to apt-build completion
(Patch by Rafael Seplveda <drs@gnulinux.org.mx>)
----------------------------
revision 1.412
date: 2002/09/28 18:12:24; author: ianmacd; state: Exp; lines: +54 -48
- add some parameters to apt-get completion
(patch by Rafael Seplveda <drs@gnulinux.org.mx>
- white-space clean-up
----------------------------
revision 1.411
date: 2002/09/19 06:21:32; author: ianmacd; state: Exp; lines: +2 -2
- make gvim complete on same files as vim
----------------------------
revision 1.410
date: 2002/09/09 18:31:59; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20020909
----------------------------
revision 1.409
date: 2002/09/09 18:26:14; author: ianmacd; state: Exp; lines: +11 -11
- rename rpm helper functions to be more consistent
----------------------------
revision 1.408
date: 2002/09/09 15:46:17; author: ianmacd; state: Exp; lines: +5 -5
- fix for 'cvs add', where filename ends with another filename, such as
aa.c and a.c
----------------------------
revision 1.407
date: 2002/09/08 22:04:26; author: ianmacd; state: Exp; lines: +16 -3
- option completion for chown and chgrp
----------------------------
revision 1.406
date: 2002/09/08 21:48:27; author: ianmacd; state: Exp; lines: +2 -2
- add .ogm and .mp4 to mplayer and xine
----------------------------
revision 1.405
date: 2002/08/23 02:00:04; author: ianmacd; state: Exp; lines: +2 -2
- more file-types for xmms to complete on
----------------------------
revision 1.404
date: 2002/08/19 16:58:12; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20020819
----------------------------
revision 1.403
date: 2002/08/19 16:56:55; author: ianmacd; state: Exp; lines: +55 -38
- add Linux iwconfig completion
- consolidate most of ifconfig and iwconfig completion into _ifwconfig()
----------------------------
revision 1.402
date: 2002/08/12 16:04:58; author: ianmacd; state: Exp; lines: +3 -2
- xmms can now also complete on .xm, .mod and .s3m files
----------------------------
revision 1.401
date: 2002/08/12 15:29:35; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20020812
----------------------------
revision 1.400
date: 2002/08/06 22:04:47; author: ianmacd; state: Exp; lines: +3 -3
- ./configure completion was not returning all possible completions for
mawk users, as mawk does not recognise \w
----------------------------
revision 1.399
date: 2002/08/05 07:47:30; author: ianmacd; state: Exp; lines: +2 -2
- no space after export completion (assuming bash 2.05b)
----------------------------
revision 1.398
date: 2002/08/05 07:39:37; author: ianmacd; state: Exp; lines: +2 -2
- add .wmv files to those that aviplay will complete on
----------------------------
revision 1.397
date: 2002/08/03 09:35:33; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20020803
----------------------------
revision 1.396
date: 2002/08/01 01:18:51; author: ianmacd; state: Exp; lines: +3 -2
- silence eval errors in _filedir_xspec() when quoting goes awry
----------------------------
revision 1.395
date: 2002/08/01 01:11:14; author: ianmacd; state: Exp; lines: +56 -1
- add apt-build completion by Rafael Seplveda <drs@gnulinux.org.mx>
----------------------------
revision 1.394
date: 2002/07/30 15:38:11; author: ianmacd; state: Exp; lines: +2 -2
- add elinks to commands performing .html completion
----------------------------
revision 1.393
date: 2002/07/29 18:05:59; author: ianmacd; state: Exp; lines: +116 -2
- perl and perldoc completion by Alex Shinn <foof@synthcode.com>
----------------------------
revision 1.392
date: 2002/07/29 06:48:29; author: ianmacd; state: Exp; lines: +2 -2
- apparently, vim can edit .gz and .bz2 files, so don't exclude these from
the completion list
----------------------------
revision 1.391
date: 2002/07/29 06:44:37; author: ianmacd; state: Exp; lines: +2 -2
- fix sed error when completing a relative path in insmod completion
----------------------------
revision 1.390
date: 2002/07/27 09:12:57; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20020727
----------------------------
revision 1.389
date: 2002/07/27 09:12:32; author: ianmacd; state: Exp; lines: +2 -2
- fix typo in vim completion and add a couple more file types to avoid
returning as possible completions
----------------------------
revision 1.388
date: 2002/07/26 18:55:35; author: ianmacd; state: Exp; lines: +2 -2
- _man(): when completing on man page names, a trailing dot would be removed
when trying to complete a man page such as syslog.conf
----------------------------
revision 1.387
date: 2002/07/23 15:59:48; author: ianmacd; state: Exp; lines: +2 -2
- update to release 20020723
----------------------------
revision 1.386
date: 2002/07/23 15:59:15; author: ianmacd; state: Exp; lines: +4 -4
- allow '@' in the release of RPM packages for rpm completion
----------------------------
revision 1.385
date: 2002/07/22 20:08:53; author: ianmacd; state: Exp; lines: +2 -2
- allow gunzip et al to recognise .dz files (compressed dict files)
----------------------------
revision 1.384
date: 2002/07/22 18:57:28; author: ianmacd; state: Exp; lines: +22 -4
- add _user_at_host() for user@host style completion. Use this for finger
and talk
- scp completion now no longer appends a space with bash 2.05b
- scp completion now discards stderr when performing remote path completion
----------------------------
revision 1.383
date: 2002/07/16 08:16:50; author: ianmacd; state: Exp; lines: +3 -3
- bzgrep et all now also recognise .tbz2
- update release to 20020716
----------------------------
revision 1.382
date: 2002/07/16 01:07:03; author: ianmacd; state: Exp; lines: +10 -2
- mount completion will now complete on Samba shares (only the volume, not
the hostname part)
----------------------------
revision 1.381
date: 2002/07/15 23:07:02; author: ianmacd; state: Exp; lines: +5 -3
- catch more possible completions in configure completion
----------------------------
revision 1.380
date: 2002/07/12 09:21:06; author: ianmacd; state: Exp; lines: +2 -2
- add some file types that xv can complete on
----------------------------
revision 1.379
date: 2002/07/11 07:54:51; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20020711
----------------------------
revision 1.378
date: 2002/07/08 05:09:22; author: ianmacd; state: Exp; lines: +3 -3
- PINE address book completion fix
- allow WINE to complete on .scr files
----------------------------
revision 1.377
date: 2002/07/04 07:13:41; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20020704
----------------------------
revision 1.376
date: 2002/07/04 05:45:06; author: ianmacd; state: Exp; lines: +19 -7
- urpmi completion update from Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.375
date: 2002/07/04 05:14:47; author: ianmacd; state: Exp; lines: +2 -2
- touch-ups to mplayer completion
----------------------------
revision 1.374
date: 2002/06/26 08:28:12; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20020626
----------------------------
revision 1.373
date: 2002/06/26 05:30:50; author: ianmacd; state: Exp; lines: +6 -4
- make tilde expansion work during chown completion
----------------------------
revision 1.372
date: 2002/06/25 15:48:33; author: ianmacd; state: Exp; lines: +3 -2
- make tar completion -o filenames by default.
-o dirnames can be obtained by setting $COMP_TAR_INTERNAL_PATHS prior to
sourcing.
----------------------------
revision 1.371
date: 2002/06/24 21:40:04; author: ianmacd; state: Exp; lines: +7 -3
- restore expansion of ~: its removal broke too much
----------------------------
revision 1.370
date: 2002/06/24 16:37:13; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20020624
----------------------------
revision 1.369
date: 2002/06/24 16:34:50; author: ianmacd; state: Exp; lines: +3 -6
- avoid tilde expansion where possible, but do interpret the meaning of
~user. This stops 'cd ~us<Tab>' from expanding to 'cd /home/user/'
----------------------------
revision 1.368
date: 2002/06/24 08:22:11; author: ianmacd; state: Exp; lines: +6 -8
- gdb completion defaults to -o filenames, not -o default
- simplify process matching code in gdb completion
----------------------------
revision 1.367
date: 2002/06/24 07:52:54; author: ianmacd; state: Exp; lines: +2 -2
- allow unzip to complete on Java Enterprise Application Archive files (.ear)
----------------------------
revision 1.366
date: 2002/06/21 09:12:59; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20020621
----------------------------
revision 1.365
date: 2002/06/21 09:11:32; author: ianmacd; state: Exp; lines: +9 -8
- add edit and unedit to cvs completion
----------------------------
revision 1.364
date: 2002/06/19 17:12:52; author: ianmacd; state: Exp; lines: +2 -2
- don't exclude .o files from make completion
----------------------------
revision 1.363
date: 2002/06/19 16:53:48; author: ianmacd; state: Exp; lines: +5 -5
- {gzip,bzip2} -t should also complete on .gz and .bz2 files, respectively
- man completion still needed one fix for FreeBSD
----------------------------
revision 1.362
date: 2002/06/19 08:18:28; author: ianmacd; state: Exp; lines: +3 -3
- update release to 20020619
----------------------------
revision 1.361
date: 2002/06/17 16:40:59; author: ianmacd; state: Exp; lines: +3 -3
- allow .tbz as an extension during tar completion
----------------------------
revision 1.360
date: 2002/06/17 16:38:37; author: ianmacd; state: Exp; lines: +5 -1
- check for non-Linux and presence of gsed (GNU sed). If it's there, alias
it to sed.
----------------------------
revision 1.359
date: 2002/06/17 02:08:45; author: ianmacd; state: Exp; lines: +3 -3
- make man completion work for FreeBSD
----------------------------
revision 1.358
date: 2002/06/16 18:35:58; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20020616
----------------------------
revision 1.357
date: 2002/06/16 18:35:28; author: ianmacd; state: Exp; lines: +4 -4
- eliminate errors when setting read-only variables
----------------------------
revision 1.356
date: 2002/06/12 21:43:00; author: ianmacd; state: Exp; lines: +2 -2
- fix quoting bug in PINE address completion
----------------------------
revision 1.355
date: 2002/06/11 18:49:57; author: ianmacd; state: Exp; lines: +3 -3
- update release to 20020611
----------------------------
revision 1.354
date: 2002/06/10 15:36:50; author: ianmacd; state: Exp; lines: +4 -4
- BASH_COMPLETION_DIR had a typo and was set to /etc/bash_completion
instead of /etc/bash_completion.d
- in tar completion, completing on files within a tar file would consume all
memory in bash 2.05a (the perennial compgen -W bug)
----------------------------
revision 1.353
date: 2002/06/09 17:22:26; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20020609
----------------------------
revision 1.352
date: 2002/06/09 08:38:04; author: ianmacd; state: Exp; lines: +2 -2
- unzip and zipinfo now recognise the .wsz extension (used for Winzip skin
files and xmms)
----------------------------
revision 1.351
date: 2002/06/09 08:35:56; author: ianmacd; state: Exp; lines: +3 -3
- tar completion now recognises the .tbz2 extension
----------------------------
revision 1.350
date: 2002/06/09 08:30:35; author: ianmacd; state: Exp; lines: +2 -2
- galeon, links and curl now also complete on .html files
----------------------------
revision 1.349
date: 2002/06/06 16:48:16; author: ianmacd; state: Exp; lines: +2 -2
- tar cf completed properly, but tar -cf did not
----------------------------
revision 1.348
date: 2002/06/05 09:55:22; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20020605
----------------------------
revision 1.347
date: 2002/06/05 09:52:44; author: ianmacd; state: Exp; lines: +3 -2
- _tar(): display directories properly when returning contents of tar files
- add .html file completion for netscape, mozilla, lynx, w3m
----------------------------
revision 1.346
date: 2002/06/04 05:45:09; author: ianmacd; state: Exp; lines: +21 -17
- use of \ls to avoid calling an alias will still call a function of that
name, if one is defined. Use built-in 'command' instead
----------------------------
revision 1.345
date: 2002/06/04 05:28:41; author: ianmacd; state: Exp; lines: +3 -2
- add newgrp to list of commands that complete on group names
----------------------------
revision 1.344
date: 2002/06/04 05:27:03; author: ianmacd; state: Exp; lines: +2 -2
- _tar(): use parameter substitution instead of calling tr(1)
----------------------------
revision 1.343
date: 2002/06/02 22:19:38; author: ianmacd; state: Exp; lines: +29 -8
- tar completion now completes first on tar files, then on their contents
----------------------------
revision 1.342
date: 2002/06/01 21:16:20; author: ianmacd; state: Exp; lines: +55 -1
- bash complete completion by Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.341
date: 2002/06/01 21:01:05; author: ianmacd; state: Exp; lines: +50 -1
- lilo(8) completion by Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.340
date: 2002/06/01 20:58:06; author: ianmacd; state: Exp; lines: +212 -43
- Java completion overhaul by Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.339
date: 2002/06/01 18:46:19; author: ianmacd; state: Exp; lines: +3 -3
- updated release to 20020601
----------------------------
revision 1.338
date: 2002/05/30 20:26:41; author: ianmacd; state: Exp; lines: +4 -4
- _known_hosts(): BSD sed (and others) has no /i modifier, so we need
[Mm][Aa][Dd][Nn][Ee][Ss][Ss] style matching. Sigh...
----------------------------
revision 1.337
date: 2002/05/30 20:17:29; author: ianmacd; state: Exp; lines: +3 -3
From: Dr.Rafael Seplveda <drs@gnulinux.org.mx>
- fix bug present in both _comp-dpkg-installed-packages() and
_comp-dpkg-hold-packages() that results in all packages being returned.
----------------------------
revision 1.336
date: 2002/05/30 19:08:15; author: ianmacd; state: Exp; lines: +33 -1
- add basic completion for RCS suite (rcs, rlog, ci, co)
----------------------------
revision 1.335
date: 2002/05/28 20:34:38; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20020528
----------------------------
revision 1.334
date: 2002/05/28 20:34:11; author: ianmacd; state: Exp; lines: +6 -2
From Goetz Waschk <waschk@informatik.uni-rostock.de>
- java -jar completes on .jar files
----------------------------
revision 1.333
date: 2002/05/28 20:16:05; author: ianmacd; state: Exp; lines: +79 -5
From: Guillaume Rousse <rousse@ccr.jussieu.fr>
- urpmi now completes on rpm files
- urpmf, urpme, urpmq completion added
----------------------------
revision 1.332
date: 2002/05/21 17:10:13; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20020521
----------------------------
revision 1.331
date: 2002/05/21 05:35:40; author: ianmacd; state: Exp; lines: +3 -2
- add bzme completion (Mandrake)
- unzip & zipinfo also complete on .war files (as used by Tomcat, etc.)
(submission from Goetz Waschk <waschk@informatik.uni-rostock.de>)
----------------------------
revision 1.330
date: 2002/05/21 00:36:07; author: ianmacd; state: Exp; lines: +3 -3
- _comp-dpkg-installed-packages(): remove dependence on grep-dctrl
(patch by Dr.Rafael Seplveda <drs@gnulinux.org.mx>)
----------------------------
revision 1.329
date: 2002/05/19 16:56:55; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20020519
----------------------------
revision 1.328
date: 2002/05/19 16:56:19; author: ianmacd; state: Exp; lines: +13 -14
- there were still references to _file_glob() in the code
----------------------------
revision 1.327
date: 2002/05/19 09:16:30; author: ianmacd; state: Exp; lines: +6 -9
- remove some dependence on grep-dctrl in Debian-specific completion
functions
- don't split ksh style globs over more than one line, since this doesn't seem
to work
both of the above fixes supplied by Dr.Rafael Seplveda <drs@gnulinux.org.mx>
----------------------------
revision 1.326
date: 2002/05/18 23:00:14; author: ianmacd; state: Exp; lines: +9 -18
- replace many calls to compgen -f/-d with calls to _filedir()
----------------------------
revision 1.325
date: 2002/05/18 19:05:08; author: ianmacd; state: Exp; lines: +29 -13
- Python now completes first on a .(py|pyc|pyo) file, then on any file
- rpm helper function _file_glob() has been integrated into _filedir(), as
the principle was the same
----------------------------
revision 1.324
date: 2002/05/18 00:35:26; author: ianmacd; state: Exp; lines: +21 -17
- move code that handles host alias completion from _ssh() to _known_hosts()
and call it with _known_hosts -c. This means that _scp() can now also call
it and complete on aliases in the ssh config files
----------------------------
revision 1.323
date: 2002/05/16 18:07:38; author: ianmacd; state: Exp; lines: +1 -2
- remove redundant line from add_entries() (_cvs() helper function)
----------------------------
revision 1.322
date: 2002/05/16 16:15:19; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20020516
----------------------------
revision 1.321
date: 2002/05/16 09:10:04; author: ianmacd; state: Exp; lines: +3 -1
- _cvs(): get rid of grep in get_entries(), so that characters such as '.'
in file names don't get interpreted
----------------------------
revision 1.320
date: 2002/05/16 09:05:04; author: ianmacd; state: Exp; lines: +8 -9
- _cd(): completion was failing when CDPATH pointed to directories containing
spaces in their names
----------------------------
revision 1.319
date: 2002/05/15 20:56:25; author: ianmacd; state: Exp; lines: +3 -5
- _make(): don't include variable assignments when returning targets
----------------------------
revision 1.318
date: 2002/05/15 19:43:47; author: ianmacd; state: Exp; lines: +2 -3
- _cvs(): fix bug that caused null completion list in 'cvs diff'
----------------------------
revision 1.317
date: 2002/05/14 15:54:38; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20020514
----------------------------
revision 1.316
date: 2002/05/14 15:53:58; author: ianmacd; state: Exp; lines: +4 -1
- _cd(): still need to separate COMPREPLY on spaces
----------------------------
revision 1.315
date: 2002/05/13 23:43:29; author: ianmacd; state: Exp; lines: +4 -4
- _ssh() and _known_hosts(): ssh config file directives are case-insensitive
----------------------------
revision 1.314
date: 2002/05/13 23:40:40; author: ianmacd; state: Exp; lines: +4 -13
- _cd(): need to allow \n as separator
- _cd(): removed a chunk of code that probably hasn't worked for a while
----------------------------
revision 1.313
date: 2002/05/11 17:28:58; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20020511
----------------------------
revision 1.312
date: 2002/05/11 17:22:12; author: ianmacd; state: Exp; lines: +2 -2
- _ssh(): fix newline from making it into compgen -W and consuming all of
system memory
----------------------------
revision 1.311
date: 2002/05/11 09:28:58; author: ianmacd; state: Exp; lines: +12 -10
- perform tilde expansion in dpkg completion
----------------------------
revision 1.310
date: 2002/05/10 18:09:35; author: ianmacd; state: Exp; lines: +2 -2
- use sed instead of Perl in urpmi completion (patch from Guillaume Rousse
<rousse@ccr.jussieu.fr>)
----------------------------
revision 1.309
date: 2002/05/09 18:20:53; author: ianmacd; state: Exp; lines: +16 -15
- add MP3 files to those on which mplayer and xine will complete
- mpg321 completes on MP3 files
- minor code patch-ups to make Linux-specific functions work on HURD systems
(all of the above from Robert Millan <zeratul2@wanadoo.es>)
----------------------------
revision 1.308
date: 2002/05/08 17:38:56; author: ianmacd; state: Exp; lines: +3 -3
- changes to aptitude completion comments by Dr.Rafael Seplveda
<drs@gnulinux.org.mx>
----------------------------
revision 1.307
date: 2002/05/08 17:26:18; author: ianmacd; state: Exp; lines: +3 -2
- in cvs checkout mode, "cvs co -c" should take into account "-d" (patch by
Liviu Daia <Liviu.Daia@imar.ro>)
----------------------------
revision 1.306
date: 2002/05/08 17:23:51; author: ianmacd; state: Exp; lines: +11 -2
- postmap(1) and postalias(1) from the latest Postfix snapshot have a
new option, "-o" (patch by Liviu Daia <Liviu.Daia@imar.ro>)
- postfix(1) completion added (patch by Liviu Daia <Liviu.Daia@imar.ro>)
----------------------------
revision 1.305
date: 2002/05/07 08:16:32; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20020507
----------------------------
revision 1.304
date: 2002/05/06 01:31:28; author: ianmacd; state: Exp; lines: +31 -9
- _known_hosts(): check /etc/ssh/ssh_config and ~/ssh/config to get location
of global and user known hosts files, rather than just assuming we know
where they are
----------------------------
revision 1.303
date: 2002/05/05 23:28:59; author: ianmacd; state: Exp; lines: +13 -2
- _ssh(): now also returns host aliases from /etc/ssh/config and ~/.ssh/config
files
----------------------------
revision 1.302
date: 2002/05/05 22:46:30; author: ianmacd; state: Exp; lines: +107 -1
- add completion for Postfix commands (patch by Liviu Daia <Liviu.Daia@imar.ro>
and Carsten Hoeger <choeger@suse.de>)
----------------------------
revision 1.301
date: 2002/05/05 20:29:35; author: ianmacd; state: Exp; lines: +3 -12
- _cvs(): cvs checkout now checks for registered modules, not just raw
directories in $CVSROOT
----------------------------
revision 1.300
date: 2002/05/05 20:20:02; author: ianmacd; state: Exp; lines: +21 -9
- _rpm(): additions for rpm 4.1
----------------------------
revision 1.299
date: 2002/05/05 19:24:31; author: ianmacd; state: Exp; lines: +78 -1
- add Debian Linux aptitude(8) completion
----------------------------
revision 1.298
date: 2002/05/05 17:42:42; author: ianmacd; state: Exp; lines: +6 -5
- _comp-dpkg-installed-packages(): return list of installed packages, rather
installable packages (patch by Dr.Rafael Seplveda <drs@gnulinux.org.mx>)
----------------------------
revision 1.297
date: 2002/05/04 20:42:31; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20020504
----------------------------
revision 1.296
date: 2002/05/03 01:00:04; author: ianmacd; state: Exp; lines: +2 -1
- python completion on .py, .pyc and .pyo files
----------------------------
revision 1.295
date: 2002/05/03 00:58:48; author: ianmacd; state: Exp; lines: +2 -2
- make xine complete on the same files as mplayer
----------------------------
revision 1.294
date: 2002/05/03 00:43:50; author: ianmacd; state: Exp; lines: +23 -23
- define CVS helper functions outside of _cvs(), since that just parses them
at run-time anyway
----------------------------
revision 1.293
date: 2002/04/30 22:16:35; author: ianmacd; state: Exp; lines: +14 -8
- add long option completion to psql completion
(patch by Laurent Martelli <laurent@bearteam.org>)
----------------------------
revision 1.292
date: 2002/04/30 21:55:20; author: ianmacd; state: Exp; lines: +9 -1
- cvs completion now handles diff
(patch by Laurent Martelli <laurent@bearteam.org>)
----------------------------
revision 1.291
date: 2002/04/30 21:47:42; author: ianmacd; state: Exp; lines: +2 -2
- _filedir_xspec(): avoid eval errors when completing within backticks or
quotes
----------------------------
revision 1.290
date: 2002/04/30 16:16:22; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20020430
----------------------------
revision 1.289
date: 2002/04/29 20:58:39; author: ianmacd; state: Exp; lines: +6 -5
- make installation of RPM functions a compound statement
----------------------------
revision 1.288
date: 2002/04/29 20:36:04; author: ianmacd; state: Exp; lines: +98 -9
- reworking of Postgresql completion by Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.287
date: 2002/04/29 20:21:41; author: ianmacd; state: Exp; lines: +18 -3
- _cvs(): remove a superfluous grep and redirect stderr on ls
- add PINE address-book completion
----------------------------
revision 1.286
date: 2002/04/27 18:45:24; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20020427
----------------------------
revision 1.285
date: 2002/04/24 22:26:49; author: ianmacd; state: Exp; lines: +92 -1
- add update-alternatives completion by Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.284
date: 2002/04/24 15:40:37; author: ianmacd; state: Exp; lines: +3 -3
- _urpmi_media(): urpmi completion now deals properly with spaces (patch
from Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.283
date: 2002/04/24 15:28:56; author: ianmacd; state: Exp; lines: +2 -2
- check that the files we try to source in $BASH_COMPLETION_DIR are actually
plain old files
----------------------------
revision 1.282
date: 2002/04/23 16:01:39; author: ianmacd; state: Exp; lines: +2 -2
- zipinfo now completes on the same files as unzip
----------------------------
revision 1.281
date: 2002/04/23 02:51:54; author: ianmacd; state: Exp; lines: +4 -1
- _export(): make 'export FOO=$<Tab>' complete on variable names
----------------------------
revision 1.280
date: 2002/04/22 17:34:35; author: ianmacd; state: Exp; lines: +2 -2
- latex et al now also complete on .dtx and .ins files
----------------------------
revision 1.279
date: 2002/04/22 08:39:07; author: ianmacd; state: Exp; lines: +27 -1
- add Debian dselect(8) completion
----------------------------
revision 1.278
date: 2002/04/22 08:25:31; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20020422
----------------------------
revision 1.277
date: 2002/04/22 08:17:57; author: ianmacd; state: Exp; lines: +2 -2
- tex, latex et al now also complete on .latex files
----------------------------
revision 1.276
date: 2002/04/22 07:59:08; author: ianmacd; state: Exp; lines: +23 -23
- use $UNAME instead of $OS, since the latter purportedly has bad interactions
in environments such as Cygwin
----------------------------
revision 1.275
date: 2002/04/22 07:48:12; author: ianmacd; state: Exp; lines: +1 -46
- move ri completion into contrib dir, because it's relatively uncommon
----------------------------
revision 1.274
date: 2002/04/20 23:55:18; author: ianmacd; state: Exp; lines: +3 -3
- _man(): avoid calling alias, if an alias called man exists
- bind rpmbuild to _rpm() function
----------------------------
revision 1.273
date: 2002/04/20 23:51:33; author: ianmacd; state: Exp; lines: +2 -4
- _filedir(): fix error when completing on a quoted parameter
- _cd(): remove useless call of _expand()
----------------------------
revision 1.272
date: 2002/04/18 16:05:31; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20020418
----------------------------
revision 1.271
date: 2002/04/18 15:55:50; author: ianmacd; state: Exp; lines: +6 -5
- add 'annotate' to list of cvs commands that perform completion
----------------------------
revision 1.270
date: 2002/04/18 15:29:56; author: ianmacd; state: Exp; lines: +46 -1
- added ri (Ruby documentation) completion
----------------------------
revision 1.269
date: 2002/04/17 08:44:12; author: ianmacd; state: Exp; lines: +21 -14
- _rpm(): rpm -qf worked, but rpm -q -f didn't. Simiarly, rpm -V -f didn't
work; nor did rpm -Vg or rpm -V -g
----------------------------
revision 1.268
date: 2002/04/15 00:41:04; author: ianmacd; state: Exp; lines: +6 -5
- avoid errors when comp{gen,lete} -g don't work on an unpatched bash 2.05
----------------------------
revision 1.267
date: 2002/04/13 19:24:28; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20020412
----------------------------
revision 1.266
date: 2002/04/13 19:21:42; author: ianmacd; state: Exp; lines: +2 -2
- _command(): back out change from 1.265, as we can't reliably avoid expansion
of wildcards prior to handing off for subcompletion. Also, back out change
from 1.242 (release 20020402) that set the command line token pointer to be
n-1 after expansion of any wildcards. We can't reliably know what the
position of the current token is after expansion, since someone may do
something like 'sudo ls fo*<Tab> bar', where 'fo*' expands to multiple
tokens.
----------------------------
revision 1.265
date: 2002/04/12 00:24:08; author: ianmacd; state: Exp; lines: +4 -5
- _command(): stop wildcards from expanding prior to handing off command line
for subcompletion
----------------------------
revision 1.264
date: 2002/04/08 16:30:59; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20020408
----------------------------
revision 1.263
date: 2002/04/07 19:17:13; author: ianmacd; state: Exp; lines: +43 -29
- _apt-get improvements from Laurent Martelli <laurent@bearteam.org>
- make _rpm()'s helper functions global. Having them within the _rpm() function
body doesn't make them global anyway; it just makes them get sourced at
run-time when _rpm() gets called, so this should be slightly faster
----------------------------
revision 1.262
date: 2002/04/06 22:21:13; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20020406
----------------------------
revision 1.261
date: 2002/04/06 22:18:59; author: ianmacd; state: Exp; lines: +13 -12
- various fixes to urpmi function names to make them officially valid
----------------------------
revision 1.260
date: 2002/04/05 19:45:05; author: ianmacd; state: Exp; lines: +5 -5
- _rpm(): rpm would try group query completion instead of either uninstalled or
installed query completion when passed a long option that ended with 'g'.
Similarly, it would attempt uninstalled package completion instead of
installed package completion when passed a long option that ended with 'p'.
verify completion suffered from a similar bug
----------------------------
revision 1.259
date: 2002/04/04 16:49:40; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20020404
----------------------------
revision 1.258
date: 2002/04/04 16:27:06; author: ianmacd; state: Exp; lines: +2 -2
- add compressed files (.Z) to the list that gv and ggv will complete on
----------------------------
revision 1.257
date: 2002/04/04 00:42:14; author: ianmacd; state: Exp; lines: +2 -2
- add .m3u to list of extensions that xmms et al can complete on
----------------------------
revision 1.256
date: 2002/04/03 23:17:10; author: ianmacd; state: Exp; lines: +13 -12
- clean up numerous areas where grep would complain if passed a $cur with
a space in it
----------------------------
revision 1.255
date: 2002/04/03 23:10:35; author: ianmacd; state: Exp; lines: +15 -16
- _rpm(): make package group completion a subcase of -q completion
It was very buggy before, completing only when 'rpm -g' was given (which is
invalid), instead of 'rpm -qg'
----------------------------
revision 1.254
date: 2002/04/03 21:10:49; author: ianmacd; state: Exp; lines: +39 -3
- _route(): add 'default' and 'gw' as possible completions
- add lftp(1) and autorpm(1) completion from Kirk Bauer <kirk@kaybee.org>
----------------------------
revision 1.253
date: 2002/04/03 19:19:30; author: ianmacd; state: Exp; lines: +47 -42
- attempt to make everything bash 2.04 compatible by putting making the -o
switch to comp{lete,gen} a shell variable
- allow group completion in bash versions > 2.04 (was > 2.05, but that would
break group completion for anyone who has installed a suitably patched 2.05)
----------------------------
revision 1.252
date: 2002/04/03 18:56:55; author: ianmacd; state: Exp; lines: +3 -3
- add which(1) to list of commands that complete on commands
----------------------------
revision 1.251
date: 2002/04/03 18:56:01; author: ianmacd; state: Exp; lines: +3 -3
- _umount(): make returned completions behave properly (remove -o filenames)
and default to directories if all else fails (add -o dirnames)
----------------------------
revision 1.250
date: 2002/04/03 07:11:06; author: ianmacd; state: Exp; lines: +4 -8
- _cd(): back out some code that attempted to add a trailing slash to
completions relative to paths in $CDPATH, since this caused problems
elsewhere
----------------------------
revision 1.249
date: 2002/04/03 01:37:51; author: ianmacd; state: Exp; lines: +20 -12
- set $nospace if bash 2.05b
- only use comp{gen,lete} -g if bash > 2.05
- _cd(): don't append a space to paths relative to $CDPATH when using bash
2.05b
----------------------------
revision 1.248
date: 2002/04/02 19:22:40; author: ianmacd; state: Exp; lines: +11 -9
- _cvs(): set $COMP_CVS_REMOTE to get remote repository completion on
'cvs commit'
- _configure(): set $COMP_CONFIGURE_HINTS to get 'SETTING' included on
--option=SETTING style completions
----------------------------
revision 1.247
date: 2002/04/02 16:56:59; author: ianmacd; state: Exp; lines: +8 -4
- _configure(): when a completion is of the form --option=SETTING, make the
inclusion of SETTING in the completion be optional (set $hints)
----------------------------
revision 1.246
date: 2002/04/02 10:04:57; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20020402
----------------------------
revision 1.245
date: 2002/04/02 08:22:27; author: ianmacd; state: Exp; lines: +3 -3
- _kill(): call _pids rather than duplicate code
- _longopt(): when parsing --help output, pipe stderr through stdout
----------------------------
revision 1.244
date: 2002/04/02 08:17:35; author: ianmacd; state: Exp; lines: +46 -2
- add netstat to list of commands that complete on long options
- add renice completion, submitted by Michael G <michaelg@amerion.net>,
and rewritten helper functions _pids() and _pgids()
----------------------------
revision 1.243
date: 2002/04/02 07:27:50; author: ianmacd; state: Exp; lines: +28 -8
- _dpkg-reconfigure() fix and enhancements from
Dr.Rafael Seplveda <drs@gnulinux.org.mx>
----------------------------
revision 1.242
date: 2002/04/01 18:50:05; author: ianmacd; state: Exp; lines: +4 -3
- _command(): when passing off command lines for subcompletion by other
functions, we were passing incorrect information about the current line
position when the command line contained wildcards that expanded arguments
to multiple arguments
----------------------------
revision 1.241
date: 2002/04/01 16:45:45; author: ianmacd; state: Exp; lines: +18 -10
- _cvs(): make 'cvs commit' default to local file completion, since remote
completion is very annoying for those who have to supply a password.
Set 'remote=yes' within _cvs() to get the old behaviour.
----------------------------
revision 1.240
date: 2002/04/01 01:12:50; author: ianmacd; state: Exp; lines: +2 -2
- _scp(): silence errors from remote path completion
----------------------------
revision 1.239
date: 2002/03/31 08:06:52; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20020331
----------------------------
revision 1.238
date: 2002/03/31 08:04:48; author: ianmacd; state: Exp; lines: +2 -2
- fix minor quoting problem in _cd()
----------------------------
revision 1.237
date: 2002/03/30 19:33:56; author: ianmacd; state: Exp; lines: +2 -2
- release updated to 20020330
----------------------------
revision 1.236
date: 2002/03/30 19:20:51; author: ianmacd; state: Exp; lines: +10 -1
- _command(): commands like 'sudo chown' return completions of the form
'user:'. This gets escaped by _chown() and passed back as 'user\:'.
_command() then escapes this further to 'user\\\:', so we need to unescape it
to have things work correctly.
Unfortunately, 'sudo rm' might pass back the name of a file that has a
backslash followed by a colon in the name, e.g. 'foo\:bar'. This is
escaped by _command() to 'foo\\\:bar', which we should not unescape.
How to tell the difference between a completion that contains a backslash
that is escaping the following character, and one that has literal
backslashes?
We extract the '-o <type>' information from the compspec and, if we are
dealing with a spec that does not specify that it passes back filenames or
dirnames, we unescape any backslash/colon pairings. Of course, this means
that 'sudo chown' will still do the wrong thing when dealing with a
directory or filename that contains '\:'. Oh well...
----------------------------
revision 1.235
date: 2002/03/29 16:33:08; author: ianmacd; state: Exp; lines: +18 -17
- fixes to _ant(), _java() and _urpmi() from
Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.234
date: 2002/03/29 08:30:47; author: ianmacd; state: Exp; lines: +90 -103
- _rpm(): replace add_package_list() with installed_packages()
- _rpm(): remove uninstalled_packages()
- _rpm(): only offer rpm options as possible completions if parameter begins
with a dash
----------------------------
revision 1.233
date: 2002/03/29 03:43:09; author: ianmacd; state: Exp; lines: +12 -14
- _cd(): checking for CDPATH at the start of the function simplifies things
somewhat
----------------------------
revision 1.232
date: 2002/03/29 03:35:42; author: ianmacd; state: Exp; lines: +6 -2
- _insmod(): Mandrake Linux has gzipped modules
- add comments to make Emacs go into shell-script-mode upon editing
----------------------------
revision 1.231
date: 2002/03/28 23:41:44; author: ianmacd; state: Exp; lines: +12 -8
- _cd(): don't foist the new relative to absolute path conversion on people
who don't use $CDPATH
----------------------------
revision 1.230
date: 2002/03/28 19:36:19; author: ianmacd; state: Exp; lines: +4 -4
- urpmi completion fixes from Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.229
date: 2002/03/28 17:22:24; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20020328
----------------------------
revision 1.228
date: 2002/03/28 08:41:09; author: ianmacd; state: Exp; lines: +2 -4
- _longopt(): remove call to _expand(), since this gets called indirectly
anyway when _filedir() is called. This fixes a double escaping of trailing
backslashes when doing something like 'mv foo\<Tab>', which would cause an
eval error in _filedir()
----------------------------
revision 1.227
date: 2002/03/27 19:33:34; author: ianmacd; state: Exp; lines: +21 -4
- dpkg completion enhancements from Laurent Martelli <laurent@bearteam.org>
- options which complete on package names or .deb files now can
complete several of them.
- --listfiles complete on installed package names
- --list complete on package names
- added --force options
----------------------------
revision 1.226
date: 2002/03/27 07:32:19; author: ianmacd; state: Exp; lines: +8 -4
- _cd(): when CDPATH=.:$HOME and $PWD = $HOME, every subdir of $HOME will be
returned both as $HOME/foo and foo. bash regards these as separate
directories, even though when displayed, bash will strip them to the
basename. Add code to turn any directory that is a subdir of $PWD into an
absolute path, so that it duplicates $HOME/dir and gets deduped.
----------------------------
revision 1.225
date: 2002/03/26 20:28:58; author: ianmacd; state: Exp; lines: +2 -2
- make fakeroot complete just like sudo
----------------------------
revision 1.224
date: 2002/03/26 20:28:01; author: ianmacd; state: Exp; lines: +2 -2
- simplify gv and ggv completion
----------------------------
revision 1.223
date: 2002/03/26 19:45:45; author: ianmacd; state: Exp; lines: +6 -5
- _querybts(): compgen was missing a continuation line that probably
resulted in lots of memory being eaten
- _querybts() and _reportbug(): --ui and --interface were missing '|'
separator
----------------------------
revision 1.222
date: 2002/03/26 19:41:47; author: ianmacd; state: Exp; lines: +3 -3
- _java(): escape arguments to grep and find
----------------------------
revision 1.221
date: 2002/03/26 16:55:10; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20020326
----------------------------
revision 1.220
date: 2002/03/26 16:36:00; author: ianmacd; state: Exp; lines: +3 -3
- _ncftp(): slight modification to sed command to make it more compatible
across versions of sed
----------------------------
revision 1.219
date: 2002/03/26 16:27:02; author: ianmacd; state: Exp; lines: +3 -3
- _tar(): some distros (notably Slackware and Sorceror), use -y as the
bzip compression switch, so we add this, along with -I, as that is sometimes
used, too
----------------------------
revision 1.218
date: 2002/03/26 16:17:12; author: ianmacd; state: Exp; lines: +7 -10
- _chown(): make ':' the user:group separator, since only GNU chown supports
'.'. This requires some escaping work, but makes chown completion work on
any *NIX based system.
----------------------------
revision 1.217
date: 2002/03/24 20:26:34; author: ianmacd; state: Exp; lines: +3 -3
- _ncftp(): replace cut with sed, since the existing cut command uses
--output-delimiter, which FreeBSD's cut doesn't have. We now also output
only the name of the bookmark, not the expansion to which it points.
----------------------------
revision 1.216
date: 2002/03/24 20:05:07; author: ianmacd; state: Exp; lines: +2 -2
- _screen(): when dealing with -s, /etc/shells can have comment lines in it
----------------------------
revision 1.215
date: 2002/03/24 19:57:37; author: ianmacd; state: Exp; lines: +4 -4
- _mount(): showmount is in /bin on FreeBSD
- _mount(): --show-headers is a GNU option not supported on FreeBSD's
showmount, so pipe through 'sed 1d' instead
- _killall(): 'c' switch to ps is superfluous
----------------------------
revision 1.214
date: 2002/03/24 19:44:55; author: ianmacd; state: Exp; lines: +31 -2
- add handling of -r|--remove|--purge to dpkg completion
- add completion for dpkg-reconfigure
- add time to list of commands that use _command() for completion
----------------------------
revision 1.213
date: 2002/03/24 08:11:30; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20020324
----------------------------
revision 1.212
date: 2002/03/24 01:34:33; author: ianmacd; state: Exp; lines: +6 -5
- killall completion now also works on FreeBSD
----------------------------
revision 1.211
date: 2002/03/23 22:59:49; author: ianmacd; state: Exp; lines: +5 -17
- alter _kill() to use /proc, so that it also works on FreeBSD and maybe other
systems, too
- alter _killall() to use simpler and more reliable way of getting at the
process name
----------------------------
revision 1.210
date: 2002/03/22 16:54:52; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20020322
----------------------------
revision 1.209
date: 2002/03/22 16:50:29; author: ianmacd; state: Exp; lines: +1 -62
- move p4 completion into contrib, since not many people have this
----------------------------
revision 1.208
date: 2002/03/22 16:45:42; author: ianmacd; state: Exp; lines: +8 -10
- _rpm(): RPM kan also verify uninstalled packages these days, so detect
and act on -p
- _rpm(): add --querytags, --specfile, --whatrequires and --whatprovides
to options that 'rpm -V' can take
----------------------------
revision 1.207
date: 2002/03/22 04:29:30; author: ianmacd; state: Exp; lines: +3 -1
- one-liners for vi, vim, emacs and wine
----------------------------
revision 1.206
date: 2002/03/22 04:18:54; author: ianmacd; state: Exp; lines: +4 -3
- only ee & display can handle .ico files
- realplay can also handle .smi and .smil files
----------------------------
revision 1.205
date: 2002/03/19 16:19:58; author: ianmacd; state: Exp; lines: +3 -2
- timidity and playmidi complete on .mid and .midi files
----------------------------
revision 1.204
date: 2002/03/18 18:12:00; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20020318
----------------------------
revision 1.203
date: 2002/03/18 18:10:57; author: ianmacd; state: Exp; lines: +2 -2
- gv ggv now also complete on compressed PDF files
----------------------------
revision 1.202
date: 2002/03/16 20:49:44; author: ianmacd; state: Exp; lines: +21 -12
- add completion for -S|--search in dpkg completion
----------------------------
revision 1.201
date: 2002/03/15 20:02:48; author: ianmacd; state: Exp; lines: +2 -2
- add chage, write, talk and chfn to list of commands that complete on user
----------------------------
revision 1.200
date: 2002/03/15 20:02:06; author: ianmacd; state: Exp; lines: +3 -2
- _insmod(): the output of modinfo has changed in recent versions of modutils,
so alter the awk script to also deal with the case of the new output
----------------------------
revision 1.199
date: 2002/03/15 17:39:18; author: ianmacd; state: Exp; lines: +5 -4
- add .ico completion to ee, display, etc.
----------------------------
revision 1.198
date: 2002/03/15 07:20:04; author: ianmacd; state: Exp; lines: +17 -4
- _scp(): try to perform remote path completion when parameter contains a
colon. This is subject to usual bash trailing whitespace issue.
----------------------------
revision 1.197
date: 2002/03/14 18:27:13; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20020314
----------------------------
revision 1.196
date: 2002/03/13 07:29:52; author: ianmacd; state: Exp; lines: +2 -2
- _man(): eval requires double backslash escaping of ls
----------------------------
revision 1.195
date: 2002/03/11 19:36:44; author: ianmacd; state: Exp; lines: +4 -3
- check that $BASH_COMPLETION_DIR is actually a directory
- update release to 20020311
----------------------------
revision 1.194
date: 2002/03/11 18:38:17; author: ianmacd; state: Exp; lines: +10 -6
- use $BASH_COMPLETION_DIR to determine where loose completon scripts are
----------------------------
revision 1.193
date: 2002/03/11 02:15:09; author: ianmacd; state: Exp; lines: +103 -1
- add Debian Linux reportbug(1) and querybts(1) completion (submitted by
Chris Lawrence <lawrencc@debian.org>)
----------------------------
revision 1.192
date: 2002/03/11 02:10:17; author: ianmacd; state: Exp; lines: +10 -4
- _dpkg(): add dpkg-deb options and give dpkg-deb the same expansions as dpkg
(patch submitted by Chris Lawrence <lawrencc@debian.org>
----------------------------
revision 1.191
date: 2002/03/08 19:50:24; author: ianmacd; state: Exp; lines: +8 -3
- source files in /etc/bash_completion.d prior to sourcing ~/.bash_completion
----------------------------
revision 1.190
date: 2002/03/08 19:46:15; author: ianmacd; state: Exp; lines: +5 -1
- _cd(): trim leading './' from relative completions, since bash will see
'./foo' and 'foo' as two distinct completions and return both, even though
the './' will be cropped when displaying them
----------------------------
revision 1.189
date: 2002/03/08 18:26:41; author: ianmacd; state: Exp; lines: +2 -2
- _java(): fixed reference to wrong local variable
----------------------------
revision 1.188
date: 2002/03/08 18:21:30; author: ianmacd; state: Exp; lines: +8 -7
- _dpkg(): -i|--install|--unpack|-A|--record-avail was not completing on
directories
- _dpkg(): -s|--status|-p|--print-avail|-L|--listfiles ignored current
parameter and thus returned full list of installed packages
----------------------------
revision 1.187
date: 2002/03/07 19:04:05; author: ianmacd; state: Exp; lines: +14 -15
- some white space clean-up, removal of e-mail addresses and removal of
comment pertaining to an ssh completion bug that was fixed a while ago
----------------------------
revision 1.186
date: 2002/03/07 19:00:48; author: ianmacd; state: Exp; lines: +123 -1
- add _urpmi.media(), _urpmi(), _urpmi.update(), _urpmi.addmedia() and
_urpmi.removemedia() for Mandrake urpmi completion. These were submitted by
Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.185
date: 2002/03/07 18:47:12; author: ianmacd; state: Exp; lines: +5 -2
- add initial option support to _tar()
----------------------------
revision 1.184
date: 2002/03/07 18:44:48; author: ianmacd; state: Exp; lines: +55 -1
- add java completion submitted by Guillaume Rousse <rousse@ccr.jussieu.fr>,
with just a couple of modifications
----------------------------
revision 1.183
date: 2002/03/07 18:35:32; author: ianmacd; state: Exp; lines: +31 -1
- add jar(1) completion from Guillaume Rousse <rousse@ccr.jussieu.fr>
----------------------------
revision 1.182
date: 2002/03/07 18:32:03; author: ianmacd; state: Exp; lines: +38 -12
- ant completion replaced by function provided by
Guillaume Rousse <rousse@ccr.jussieu.fr>, with a few changes to trap
compgen errors and other minor issues
----------------------------
revision 1.181
date: 2002/03/07 17:16:43; author: ianmacd; state: Exp; lines: +33 -21
- _rpm(): handle query of uninstalled packages when options are not
concatenated, i.e. rpm -qp worked, but rpm -q -p did not. Further
complicated by fact that other options could be interspersed,
e.g. rpm -q -l -p -i, and that partial concatenation could be given,
e.g. rpm -q -ipl
----------------------------
revision 1.180
date: 2002/03/06 20:24:06; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20020306
----------------------------
revision 1.179
date: 2002/03/06 18:38:37; author: ianmacd; state: Exp; lines: +2 -2
- _man(): Debian does not support man --path, so try setting path using
manpath and, if that fails, use man --path instead
----------------------------
revision 1.178
date: 2002/03/06 00:23:30; author: ianmacd; state: Exp; lines: +5 -4
- _export() and _configure() default to default bash completion if all else
fails
- before sourcing ~/.bash_completion, check that the current file being
sourced is not this very file. Otherwise, we cause an infinite loop.
----------------------------
revision 1.177
date: 2002/03/04 16:33:30; author: ianmacd; state: Exp; lines: +2 -2
- release updated to 20020304
----------------------------
revision 1.176
date: 2002/03/04 04:46:42; author: ianmacd; state: Exp; lines: +6 -2
- _rpm(): perform path completion for --whatprovides if parameter contains a /
----------------------------
revision 1.175
date: 2002/03/02 01:56:21; author: ianmacd; state: Exp; lines: +14 -10
- make _man() work on Darwin systems (MacOS X)
----------------------------
revision 1.174
date: 2002/03/02 01:13:23; author: ianmacd; state: Exp; lines: +127 -118
- moved some functions around, so that all helper functions, completion
functions for built-ins, and completion functions for externals are grouped
together
----------------------------
revision 1.173
date: 2002/03/01 23:41:42; author: ianmacd; state: Exp; lines: +13 -6
- _longopt(): make vague attempt at path completion after the '=' in
--long-opt= options
- _filedir(): don't bother to set $cur, since every function that calls
it will have already set it
----------------------------
revision 1.172
date: 2002/03/01 19:29:34; author: ianmacd; state: Exp; lines: +14 -11
- _cvs(): cvs import now traverses entire CVSROOT. Also cleaned up code a
little more
----------------------------
revision 1.171
date: 2002/03/01 08:55:36; author: ianmacd; state: Exp; lines: +5 -5
- _cvs(): assign to $changed() and $newremoved() as arrays, not scalars
----------------------------
revision 1.170
date: 2002/03/01 07:58:23; author: ianmacd; state: Exp; lines: +39 -29
- a few more changes to _cvs() from Kyle Wheeler <memoryhole@mac.com>
(e.g. cvs checkout now descends through the CVSROOT) and some code clean-up
to _cvs() by me
----------------------------
revision 1.169
date: 2002/03/01 02:02:39; author: ianmacd; state: Exp; lines: +13 -5
- expand _function() with typeset/declare completion
----------------------------
revision 1.168
date: 2002/03/01 01:42:13; author: ianmacd; state: Exp; lines: +18 -16
- large clean-up of sed and awk usage throughout code, where interpolating a
shell variable that contained a / would cause the sed or awk command to fail,
since it expected the / as its own delimiter. Use | instead.
----------------------------
revision 1.167
date: 2002/02/28 23:37:10; author: ianmacd; state: Exp; lines: +3 -2
- _cd() was not correctly completing on subdirs of $CDPATH (why is this
function so damn hard to get right? :-) )
- _configure() suffered a sed error when completing on options of the type
--option=PATH
----------------------------
revision 1.166
date: 2002/02/28 23:23:14; author: ianmacd; state: Exp; lines: +168 -10
- Kyle Wheeler <memoryhole@mac.com> submitted a large _cvs() patch with many
improvements. I rewrote this and fixed a few bugs found on the way.
----------------------------
revision 1.165
date: 2002/02/28 06:39:10; author: ianmacd; state: Exp; lines: +5 -2
- minor typo corrected in _longopt()
- stop eval error in _expand() when parameter ends with a \
----------------------------
revision 1.164
date: 2002/02/27 22:36:10; author: ianmacd; state: Exp; lines: +4 -4
- _man(): quote $manpath to avoid premature expansion and remove local
variable $i
----------------------------
revision 1.163
date: 2002/02/27 16:59:49; author: ianmacd; state: Exp; lines: +2 -2
- updated release to 20020227
----------------------------
revision 1.162
date: 2002/02/27 16:48:20; author: ianmacd; state: Exp; lines: +18 -18
- more code clean-up. Replace many instances of compgen -[df] by calls to
_filedir and removed a few more potential compgen error areas.
----------------------------
revision 1.161
date: 2002/02/27 16:28:26; author: ianmacd; state: Exp; lines: +3 -3
- _command(): call _filedir() when subcompletion commands return no matches
----------------------------
revision 1.160
date: 2002/02/27 11:01:21; author: ianmacd; state: Exp; lines: +2 -2
- _root_command() wasn't passing name of command that had called it to
_command()
----------------------------
revision 1.159
date: 2002/02/27 10:34:17; author: ianmacd; state: Exp; lines: +2 -2
- make psql completion perform default bash completion if all else fails
----------------------------
revision 1.158
date: 2002/02/27 09:55:30; author: ianmacd; state: Exp; lines: +4 -8
- simplify _root_command() and actually install it for use by sudo
----------------------------
revision 1.157
date: 2002/02/27 07:47:09; author: ianmacd; state: Exp; lines: +43 -2
- add dpkg completion, based largely on code submitted by Laurent Martelli
<laurent@bearteam.org>
----------------------------
revision 1.156
date: 2002/02/27 02:18:08; author: ianmacd; state: Exp; lines: +14 -14
- _make(): add long option completion
- cleaned up _configure(), _longopt() and _gcc()
----------------------------
revision 1.155
date: 2002/02/27 02:02:43; author: ianmacd; state: Exp; lines: +45 -39
multiple potential causes of compgen errors removed
----------------------------
revision 1.154
date: 2002/02/27 01:41:56; author: ianmacd; state: Exp; lines: +21 -27
- minor bug fixes to _make()
- multiple potential compgen error clean-ups
----------------------------
revision 1.153
date: 2002/02/27 01:24:04; author: ianmacd; state: Exp; lines: +10 -25
- _rpm(): removed some superfluous returns
- _apt-cache(): renamed _apt_cache and caught some potential compgen errors
- _apt-get(): renamed _apt_get and caught some potential compgen errors
----------------------------
revision 1.152
date: 2002/02/27 01:14:52; author: ianmacd; state: Exp; lines: +61 -84
- _rpm(): major clean-up, including removal of dashify()
- _rpm(): fix bug that caused --prefix, --relocate and --root to not complete
on directories
----------------------------
revision 1.151
date: 2002/02/27 00:35:39; author: ianmacd; state: Exp; lines: +3 -7
- clean up superluous returns in _ipsec()
----------------------------
revision 1.150
date: 2002/02/27 00:29:54; author: ianmacd; state: Exp; lines: +21 -28
- _find(): code clean-up and removal of potential compgen errors
----------------------------
revision 1.149
date: 2002/02/27 00:13:04; author: ianmacd; state: Exp; lines: +6 -6
prevent compgen errors in _chown(), _chgrp and _man()
fix [ ] test in _chown() and _chgrp() that should have been [[ ]] test
----------------------------
revision 1.148
date: 2002/02/26 23:59:47; author: ianmacd; state: Exp; lines: +22 -26
code clean-up
prevent compgen error in _man()
----------------------------
revision 1.147
date: 2002/02/26 23:21:39; author: ianmacd; state: Exp; lines: +11 -1
sudo now calls _root_command(), which is a wrapper around _command(), but also
sets the PATH to include {,/usr{,/local}}/sbin
----------------------------
revision 1.146
date: 2002/02/26 21:48:32; author: ianmacd; state: Exp; lines: +20 -2
add cardctl completion
----------------------------
revision 1.145
date: 2002/02/25 06:50:23; author: ianmacd; state: Exp; lines: +2 -2
updated release to 20020225
----------------------------
revision 1.144
date: 2002/02/24 20:52:22; author: ianmacd; state: Exp; lines: +5 -1
_rpm(): fixed minor bug in --re{build,compile}/--clean/--rms{ource,pec} that
caused compgen error when passed parameter with hyphens
----------------------------
revision 1.143
date: 2002/02/24 06:43:48; author: ianmacd; state: Exp; lines: +4 -2
_psql(): try to get list of valid users from Postgres before resorting to
system user list
----------------------------
revision 1.142
date: 2002/02/22 16:48:21; author: ianmacd; state: Exp; lines: +8 -3
modified _filedir() and _longopt() to allow mkdir and rmdir to complete only
on directories
----------------------------
revision 1.141
date: 2002/02/22 08:41:05; author: ianmacd; state: Exp; lines: +4 -5
_cd(): sigh, completion on dirs and subdirs of entries in $CDPATH was broken
yet again, this time due to the space having been removed from local $IFS.
This is fixed now, but there's still a bug remaining, namely that completion
does not work correctly if dirs or subdirs of entries in $CDPATH contain
embedded spaces
_longopt(): install completion for {mk,rm}dir as -o filenames, not dirnames
----------------------------
revision 1.140
date: 2002/02/21 20:26:36; author: ianmacd; state: Exp; lines: +3 -1
_tar(): prevent error if user tries to complete on first parameter using a
string like -x (compgen sees the -x as an option to itself)
----------------------------
revision 1.139
date: 2002/02/20 19:09:45; author: ianmacd; state: Exp; lines: +2 -2
_known_hosts(): fix bug where defaulting to standard hostname completion
would yield a compgen error
----------------------------
revision 1.138
date: 2002/02/20 06:41:50; author: ianmacd; state: Exp; lines: +2 -2
update release to 20020220
----------------------------
revision 1.137
date: 2002/02/20 06:26:08; author: ianmacd; state: Exp; lines: +3 -3
_longopt(): add irb to list of commands
_longopt(): refine sed command that filters long options
----------------------------
revision 1.136
date: 2002/02/20 03:56:08; author: ianmacd; state: Exp; lines: +2 -2
_man(): manpath doesn't exist on Sorceror Linux, so use man --path instead
----------------------------
revision 1.135
date: 2002/02/20 01:12:52; author: ianmacd; state: Exp; lines: +2 -2
_function(): declare won't allow a function that starts with a '-', so use
type instead
----------------------------
revision 1.134
date: 2002/02/19 22:49:13; author: ianmacd; state: Exp; lines: +4 -7
_rpm(): some clean up
----------------------------
revision 1.133
date: 2002/02/19 18:37:15; author: ianmacd; state: Exp; lines: +45 -27
take signal completion from _killall() and put it in _signals()
_killall() now calls _signals()
new _kill() function for kill completion
_killall() now only completes on signals if parameter starts with a '-'.
It would previously return process names AND signals for a blank parameter.
----------------------------
revision 1.132
date: 2002/02/18 23:40:23; author: ianmacd; state: Exp; lines: +8 -4
_man(): remove compgen -G glob in favour of compgen -f -X
----------------------------
revision 1.131
date: 2002/02/18 19:21:14; author: ianmacd; state: Exp; lines: +23 -11
_tar(): eradicate use of compgen -G in favour of compgen -f -X
----------------------------
revision 1.130
date: 2002/02/18 19:07:37; author: ianmacd; state: Exp; lines: +9 -8
_rpm(): more removal of compgen -G in favour of compgen -f -X
----------------------------
revision 1.129
date: 2002/02/18 18:55:25; author: ianmacd; state: Exp; lines: +3 -13
vastly simplify _rpm()'s local file_glob() function by removing compgen -G
glob in favour of a compgen -f -X construction
----------------------------
revision 1.128
date: 2002/02/18 18:36:00; author: ianmacd; state: Exp; lines: +5 -3
check that $modpath directory can be entered in _insmod()
----------------------------
revision 1.127
date: 2002/02/18 18:26:54; author: ianmacd; state: Exp; lines: +12 -11
only install route completion if running Linux
check for existence of make before installing its completion
----------------------------
revision 1.126
date: 2002/02/18 11:09:59; author: ianmacd; state: Exp; lines: +36 -41
check for Linux before installing killall completion
check for existence of cvs before installing its completion
clean up _longopt()
clean up _gcc()
clean up _configure()
----------------------------
revision 1.125
date: 2002/02/18 09:39:02; author: ianmacd; state: Exp; lines: +9 -11
_configure_func() now calls _longopt(), rather than duplicating code
----------------------------
revision 1.124
date: 2002/02/18 09:32:56; author: ianmacd; state: Exp; lines: +5 -31
remove _redir_op() and _redir_test()
----------------------------
revision 1.123
date: 2002/02/18 09:27:09; author: ianmacd; state: Exp; lines: +2 -2
$prev wasn't local to _psql()
----------------------------
revision 1.122
date: 2002/02/18 09:26:34; author: ianmacd; state: Exp; lines: +29 -12
mkdir and rmdir now bound to _longopt(), default to dirnames
a2ps, autoconf, automake, bc, gprof, ld, nm, objcopy, objdump, readelf, strip,
bison, cpio, diff, patch, enscript, cp, df, dir, du, ln, ls, mkfifo, mknod,
mv, rm, touch, vdir, xargs, awk, gperf, grep, gpg, grub, indent, less, m4,
sed, shar, date, env, seq, su, tee, uname, who, texindex, cat, csplit, cut,
expand, fmt, fold, head, md5sum, nl, od, paste, pr, ptx, sha1sum, sort,
split, tac, tail, tr, unexpand, uniq, wc, units and rsync now all have
GNU long option completion from _longopt()
gpc completion added into _gcc()
cat, less, more, ln and strip no longer bound to _filedir()
----------------------------
revision 1.121
date: 2002/02/17 16:50:17; author: ianmacd; state: Exp; lines: +2 -2
ee, xv, qiv and display also complete on .xpm files
----------------------------
revision 1.120
date: 2002/02/16 01:13:00; author: ianmacd; state: Exp; lines: +36 -21
break part of _gcc() into _longopt() and use this for ldd, wget, bash, id and
info completion, as demonstrated by Manu Rouat <emmanuel.rouat@wanadoo.fr>
----------------------------
revision 1.119
date: 2002/02/15 23:53:58; author: ianmacd; state: Exp; lines: +57 -1
completion for gcc and back-ends (g++, c++, g77, and gcj) from
Phil Edwards <phil@jaj.com>
----------------------------
revision 1.118
date: 2002/02/15 07:18:22; author: ianmacd; state: Exp; lines: +2 -2
update release to 20020215
----------------------------
revision 1.117
date: 2002/02/15 00:44:21; author: ianmacd; state: Exp; lines: +2 -2
mplayer also completes on .wmv files
----------------------------
revision 1.116
date: 2002/02/14 23:39:04; author: ianmacd; state: Exp; lines: +15 -16
_man(): use manpath instead of /etc/man{,path}.config to find list of paths
to search. This approach honours $MANPATH
_man(): fixed bug that caused a spurious ':' to be returned as a possible
completion for all manual sections
----------------------------
revision 1.115
date: 2002/02/14 21:11:31; author: ianmacd; state: Exp; lines: +9 -14
_rpm(): add --nodeps and --nodirtokens to possible completions for rpm -b*
and rpm -t*
_rpm(): add --rmsource, --rmspec, --sign & --nodirtokens to possible
completions for rpm --rebuild and rpm --recompile
_rpm(): rpm --recompile and --rebuild now offer compatible long options as
possible completions, even when current parameter does not start with a '-'
_rpm(): rpm --clean, --rmsource and --rmspec now offer compatible long options
as possible completions, even when current parameter does not start with a '-'
----------------------------
revision 1.114
date: 2002/02/14 20:07:42; author: ianmacd; state: Exp; lines: +8 -5
_rpm(): default to directory completion as a last resort in more cases
----------------------------
revision 1.113
date: 2002/02/14 17:49:43; author: ianmacd; state: Exp; lines: +7 -4
_man(): check for /etc/manpath.config as well as /etc/man.config, since
Debian uses the former
----------------------------
revision 1.112
date: 2002/02/13 19:25:22; author: ianmacd; state: Exp; lines: +2 -4
user name completion for passwd was accidentally later replaced by group
name completion (duh)
----------------------------
revision 1.111
date: 2002/02/13 19:23:52; author: ianmacd; state: Exp; lines: +4 -5
add rsh, rlogin & ftp to commands that use _known_hosts()
----------------------------
revision 1.110
date: 2002/02/13 19:20:59; author: ianmacd; state: Exp; lines: +29 -1
beginnings of psql completion
----------------------------
revision 1.109
date: 2002/02/13 18:33:29; author: ianmacd; state: Exp; lines: +2 -2
mplayer also completes on .mov files
----------------------------
revision 1.108
date: 2002/02/13 17:02:57; author: ianmacd; state: Exp; lines: +8 -6
update release to 20020213
----------------------------
revision 1.107
date: 2002/02/13 16:54:03; author: ianmacd; state: Exp; lines: +2 -2
add line continuation character to _tcpdump(), or compgen will eat up all of
the memory on the system
----------------------------
revision 1.106
date: 2002/02/13 16:46:15; author: ianmacd; state: Exp; lines: +4 -7
breaking completion definitions that use -X over multiple lines broke them,
when later reassigning them to _filedir_xspec()
----------------------------
revision 1.105
date: 2002/02/12 18:36:17; author: ianmacd; state: Exp; lines: +2 -2
updated release to 20020212
----------------------------
revision 1.104
date: 2002/02/12 17:05:22; author: ianmacd; state: Exp; lines: +8 -12
clean up _man() a little
----------------------------
revision 1.103
date: 2002/02/11 23:28:47; author: ianmacd; state: Exp; lines: +36 -3
beginnings of gdb completion
type now simply completes on commands (complete -c) rather than using
_command()
----------------------------
revision 1.102
date: 2002/02/11 06:06:19; author: ianmacd; state: Exp; lines: +5 -4
in _apt-cache(), return package list for --show, --showpkg, --depends
and --dotty
----------------------------
revision 1.101
date: 2002/02/11 03:14:08; author: ianmacd; state: Exp; lines: +6 -7
_scp() now suffixes a ':' on hostnames
----------------------------
revision 1.100
date: 2002/02/11 02:49:26; author: ianmacd; state: Exp; lines: +22 -4
add bash export completion
change $cword reference to $cur in alias completion
remove local from list of built-ins that complete on variables, since local
can't be used interactively
----------------------------
revision 1.99
date: 2002/02/11 00:11:03; author: ianmacd; state: Exp; lines: +35 -1
alias and function completion based on code submitted by
ulf.bartelt@t-online.de <Ulf Bartelt>
----------------------------
revision 1.98
date: 2002/02/10 21:45:46; author: ianmacd; state: Exp; lines: +18 -1
ncftp bookmark completion from Markus Dobel <mdobel@kawo2.rwth-aachen.de>
----------------------------
revision 1.97
date: 2002/02/10 21:32:39; author: ianmacd; state: Exp; lines: +3 -2
add qiv and display to list of programs that complete on image files
xfig completes on .fig files
----------------------------
revision 1.96
date: 2002/02/09 08:30:49; author: ianmacd; state: Exp; lines: +2 -2
update release to 20020209
----------------------------
revision 1.95
date: 2002/02/08 18:16:44; author: ianmacd; state: Exp; lines: +4 -3
fixed minor quoting bug in _filedir() and _filedir_xspec() that caused paths
with embedded spaces to still not be correctly completed in some cases
----------------------------
revision 1.94
date: 2002/02/08 17:49:05; author: ianmacd; state: Exp; lines: +17 -18
_man(): some systems (e.g. Mandrake) have bzipped man pages
_man(): remove code duplication
more file types for ee and xv
----------------------------
revision 1.93
date: 2002/02/06 19:02:53; author: ianmacd; state: Exp; lines: +2 -2
updated release to 20020206
----------------------------
revision 1.92
date: 2002/02/06 18:41:06; author: ianmacd; state: Exp; lines: +3 -3
make -name, -lname, -iname & -ilname complete on files in _find() and
change default completion from -o default to -o filenames
----------------------------
revision 1.91
date: 2002/02/06 17:05:12; author: ianmacd; state: Exp; lines: +3 -2
make xdvi also complete on .Z, .gz and .bz2 files
----------------------------
revision 1.90
date: 2002/02/06 16:54:09; author: ianmacd; state: Exp; lines: +15 -15
change instances of -X '!*.+(foo|bar)' to -X '!*.@(foo|bar) in the various
one-liners, so that e.g. baz would complete on .foo or .bar, but not .foobar
----------------------------
revision 1.89
date: 2002/02/06 05:02:46; author: ianmacd; state: Exp; lines: +9 -6
added a bunch of one-liners from patch by Matthias Klose <doko@cs.tu-berlin.de>
----------------------------
revision 1.88
date: 2002/02/06 02:51:20; author: ianmacd; state: Exp; lines: +2 -2
add --pkgid, --hdrid, --fileid & --tid query options to _rpm() for rpm 4.0.4
----------------------------
revision 1.87
date: 2002/02/05 16:55:30; author: ianmacd; state: Exp; lines: +3 -3
unzip also completes on .pk3 (Quake map) files
xmms, gqmpeg & freeamp also complete on .pls files
----------------------------
revision 1.86
date: 2002/02/04 19:11:42; author: ianmacd; state: Exp; lines: +3 -2
in _rpm(), consult /var/log/rpmpkgs for package list only if it is newer
than /var/lib/rpm/Packages
----------------------------
revision 1.85
date: 2002/02/04 19:07:33; author: ianmacd; state: Exp; lines: +5 -5
make scp work with files with embedded spaces (grr...)
----------------------------
revision 1.84
date: 2002/02/04 03:15:42; author: ianmacd; state: Exp; lines: +2 -2
updated release to 20020204
----------------------------
revision 1.83
date: 2002/02/04 03:12:10; author: ianmacd; state: Exp; lines: +62 -1
screen completion added - _screen()
beginnings of openssl completion added - _openssl()
----------------------------
revision 1.82
date: 2002/02/03 22:01:43; author: ianmacd; state: Exp; lines: +13 -2
make --clean --rmsource and --rmspec work together in _rpm()
----------------------------
revision 1.81
date: 2002/01/31 18:03:19; author: ianmacd; state: Exp; lines: +3 -3
not all awks are created equal, so use sub() instead of gensub() in _killall()
----------------------------
revision 1.80
date: 2002/01/31 17:01:43; author: ianmacd; state: Exp; lines: +2 -2
in _zip(), $xspec needs to be quoted to stop it from acting as a shell glob,
rather than a parameter to compgen
----------------------------
revision 1.79
date: 2002/01/31 01:35:52; author: ianmacd; state: Exp; lines: +2 -2
unzip now also handles .exe files
----------------------------
revision 1.78
date: 2002/01/30 19:48:45; author: ianmacd; state: Exp; lines: +19 -12
fix _find() so that if first command line parameter does not begin with -,
directory completion is performed. Previously 'find h<Tab>' would result
in 'find -help'.
----------------------------
revision 1.77
date: 2002/01/30 05:08:47; author: ianmacd; state: Exp; lines: +2 -2
update release to 20020130
----------------------------
revision 1.76
date: 2002/01/30 05:04:28; author: ianmacd; state: Exp; lines: +3 -3
--clean can be used stand-alone in _rpm()
----------------------------
revision 1.75
date: 2002/01/29 23:06:26; author: ianmacd; state: Exp; lines: +16 -10
make _ifupdown() detect a Debian Linux system and act accordingly
in _man(), check that /etc/man.config is readable, not just that it exists
in _rpm(), check that /var/log/rpmpkgs is readable, not just that it exists
----------------------------
revision 1.74
date: 2002/01/29 21:33:49; author: ianmacd; state: Exp; lines: +8 -3
define $BASH_COMPLETION to hold location of completion script. This is a
read-only variable used by _filedir_xspec(). Why doesn't bash have a
built-in variable to return the path of the file currently being sourced?
----------------------------
revision 1.73
date: 2002/01/29 20:30:00; author: ianmacd; state: Exp; lines: +2 -2
apparently, it should be aviplay, not avifile
----------------------------
revision 1.72
date: 2002/01/29 18:31:22; author: ianmacd; state: Exp; lines: +4 -1
call _expand() from a couple more places in _rpm()
----------------------------
revision 1.71
date: 2002/01/24 21:20:31; author: ianmacd; state: Exp; lines: +2 -2
make _filedir_xspec() use the basename of commands when looking for matching
exclusion specs (acroread <Tab> worked, whereas /opt/bin/acroread <Tab>
did not)
----------------------------
revision 1.70
date: 2002/01/24 05:03:26; author: ianmacd; state: Exp; lines: +11 -6
release updated to 20020124
call _expand() from some of the completion routines()
find now performs default completion, rather than dirnames, if nothing else
is returned
----------------------------
revision 1.69
date: 2002/01/24 00:41:00; author: ianmacd; state: Exp; lines: +3 -3
_rpm() now performs tilde expansion when file globbing
removed commented out gzip and bzip2 one-liners
----------------------------
revision 1.68
date: 2002/01/24 00:36:30; author: ianmacd; state: Exp; lines: +17 -6
renamed _file_and_dir() _filedir_xspec()
created _filedir(), which is used by cat, less, more, ln and strip, so that
tilde expansion can be performed, prior to pathname expansion
----------------------------
revision 1.67
date: 2002/01/24 00:13:21; author: ianmacd; state: Exp; lines: +41 -11
_zip() added for gzip and bzip2, so that they complete on .gz2 and .bz2 files
when invoked with the -d flag.
_expand() created for doing tilde expansion on path names. It returns the
number of elements in the COMPREPLY array. _zip(), _cd() and
_file_and_dir() now call this.
fixed minor bug in _file_and_dir() that was removing the '-' from the front of
its parameter
----------------------------
revision 1.66
date: 2002/01/23 21:35:17; author: ianmacd; state: Exp; lines: +5 -3
by popular request, comment out compspecs for gzip and bzip2. Added a
conditional to installation section of _file_and_dir() to not bind commented
out compspecs to commands
----------------------------
revision 1.65
date: 2002/01/23 18:24:46; author: ianmacd; state: Exp; lines: +5 -5
add --rmspec handling to _rpm()
----------------------------
revision 1.64
date: 2002/01/23 18:14:19; author: ianmacd; state: Exp; lines: +7 -8
turn off command tracing when DEBUG is unset
unzip also unpacks .jar files
add ggv to commands that take PostScript files
mplayer CAN'T use MP3 files
_command() wasn't redirecting stderr, so would display a harmless error message
when in 'sudo x <Tab>', 'x' didn't have its own compspec
in 'sudo x $1 $2 $n', _command() was calling x's own completion function and
passing the rest of the command line as a single parameter, rather than as
individual tokens. This is fixed, but there may be other breakage as a
result. Need to do more testing.
----------------------------
revision 1.63
date: 2002/01/22 08:19:47; author: ianmacd; state: Exp; lines: +2 -2
handle rpm -qip (and similar) as well as rpm -qpi
----------------------------
revision 1.62
date: 2002/01/21 16:48:10; author: ianmacd; state: Exp; lines: +3 -1
fix bug in 'sudo x <Tab>' where 'x' has no compspec of its own
----------------------------
revision 1.61
date: 2002/01/21 16:29:54; author: ianmacd; state: Exp; lines: +3 -3
errors caused by missing quotes fixed (duh!)
----------------------------
revision 1.60
date: 2002/01/21 04:58:42; author: ianmacd; state: Exp; lines: +2 -20
remove previous _command() completion function
updated release to 20010121
----------------------------
revision 1.59
date: 2002/01/18 16:54:22; author: ianmacd; state: Exp; lines: +49 -2
completely rewrote _command(), so that commands like sudo and strace first
complete on a command, then complete according to that command's own
completion specification. E.g. sudo rpm <Tab> would further complete
according to _rpm(), as if it were being called directly
iptables completion was being installed, even if it were not in user's PATH
----------------------------
revision 1.58
date: 2002/01/16 08:18:11; author: ianmacd; state: Exp; lines: +7 -1
added some one-liners for multimedia programs
----------------------------
revision 1.57
date: 2002/01/16 08:14:14; author: ianmacd; state: Exp; lines: +10 -7
_known_hosts(): finally thought of a way to correctly perform completion
when host specification is of the form user@host
_known_hosts(): moved escaping of dots in $cur to within 'if' block that
requires it
----------------------------
revision 1.56
date: 2002/01/16 03:16:56; author: ianmacd; state: Exp; lines: +2 -2
_man() wasn't completing on filenames with a relative path
----------------------------
revision 1.55
date: 2002/01/15 18:20:48; author: ianmacd; state: Exp; lines: +2 -2
updated release to 20020115
----------------------------
revision 1.54
date: 2002/01/14 21:38:22; author: ianmacd; state: Exp; lines: +33 -1
mysqladmin completion
----------------------------
revision 1.53
date: 2002/01/09 16:32:30; author: ianmacd; state: Exp; lines: +2 -2
updated release to 20020109
----------------------------
revision 1.52
date: 2002/01/08 05:49:06; author: ianmacd; state: Exp; lines: +35 -11
added _chgrp() completion
----------------------------
revision 1.51
date: 2002/01/08 01:33:08; author: ianmacd; state: Exp; lines: +19 -1
added _ifupdown() for Red Hat Linux if{up,down} completion
----------------------------
revision 1.50
date: 2002/01/08 01:26:49; author: ianmacd; state: Exp; lines: +45 -7
improve _iptables() with some chain name completion
----------------------------
revision 1.49
date: 2002/01/06 19:11:12; author: ianmacd; state: Exp; lines: +3 -2
fix iptables - it no longer worked at all, because $prev wasn't set
----------------------------
revision 1.48
date: 2002/01/06 04:21:04; author: ianmacd; state: Exp; lines: +2 -2
_cd() was no longer completing relative to $CDPATH
----------------------------
revision 1.47
date: 2002/01/05 21:04:01; author: ianmacd; state: Exp; lines: +3 -1
add release date
----------------------------
revision 1.46
date: 2002/01/05 20:48:59; author: ianmacd; state: Exp; lines: +6 -4
fixed _cd() so that if $CDPATH is set and no completions are returned
relative to its paths, we still attempt directory completion relative to $PWD
----------------------------
revision 1.45
date: 2002/01/05 20:42:41; author: ianmacd; state: Exp; lines: +9 -5
make gv also complete on encapsulated PostScript files
add jadetex and pdfjadetex to commands that complete on tex files
improved tar completion to handle .tgz and .tar files
inproved tar completion to perform file completion when c*f is the first
parameter
----------------------------
revision 1.44
date: 2002/01/04 19:29:18; author: ianmacd; state: Exp; lines: +4 -4
add 'conflicts' and 'obsoletes' query completions to _rpm()
----------------------------
revision 1.43
date: 2002/01/04 05:34:21; author: ianmacd; state: Exp; lines: +7 -6
make gv also complete on PDF files
include --repackage for rpm -[ei]
fix _cd so that it completes on directories with an embedded space
fix _file_and_dir so that it completes on directories with an embedded space
----------------------------
revision 1.42
date: 2002/01/03 01:17:44; author: ianmacd; state: Exp; lines: +2 -2
no group completion for chgrp, since we ideally also want filename completion
on second and subsequent parameters
----------------------------
revision 1.41
date: 2002/01/03 01:16:41; author: ianmacd; state: Exp; lines: +17 -15
add group completion for chgrp
change embedded tabs in the file to $'\t' syntax
be a bit more elegant in determining location of showmount in _mount()
condense awk|grep combo in _configure() to a single sed command
be more intelligent about parsing for exclusion (-X) compspecs when
binding commands to _file_and_dir()
----------------------------
revision 1.40
date: 2001/12/21 08:56:18; author: ianmacd; state: Exp; lines: +6 -4
check for showmount in /sbin or /usr/sbin in _mount()
----------------------------
revision 1.39
date: 2001/12/20 19:26:49; author: ianmacd; state: Exp; lines: +4 -3
add a compspec for mpg123
condense grep | head into a single sed command in _file_and_dir
----------------------------
revision 1.38
date: 2001/12/20 17:12:44; author: ianmacd; state: Exp; lines: +16 -17
avoid use of extra file descriptor and grep in _file_and_dir by using
parameter substitutions
----------------------------
revision 1.37
date: 2001/12/20 08:52:12; author: ianmacd; state: Exp; lines: +44 -4
added _file_and_dir as a meta-function for compspecs requiring the -X flag
This allows us to exclude files without excluding directories
use IFS=$'\t' instead of IFS=$(echo -e "\t")
----------------------------
revision 1.36
date: 2001/12/18 04:43:25; author: ianmacd; state: Exp; lines: +137 -137
replace spaces with tabs
----------------------------
revision 1.35
date: 2001/12/18 04:25:04; author: ianmacd; state: Exp; lines: +23 -3
basic nslookup completion added
----------------------------
revision 1.34
date: 2001/12/13 21:34:17; author: ianmacd; state: Exp; lines: +3 -7
make ee and xv complete on more file-types
----------------------------
revision 1.33
date: 2001/12/11 21:25:53; author: ianmacd; state: Exp; lines: +21 -2
ant completion added
----------------------------
revision 1.32
date: 2001/12/05 18:05:49; author: ianmacd; state: Exp; lines: +2 -2
use type (built-in) instead of which (external) to determine whether a
particular command is available
----------------------------
revision 1.31
date: 2001/12/05 17:32:24; author: ianmacd; state: Exp; lines: +17 -23
- removed misleading comment on _man completion
- use -g, not -u for group completion (duh!)
- avoid unnecessary use of $COMPREPLY_SAVE in _ssh/_scp
- use '-' as prefix (-P) to kill, not '%', and put it *before* command
- default to filename completion on _scp
- removed a couple of definitions of $prev that weren't actually used
- source ~/.bash_completion if it exists
----------------------------
revision 1.30
date: 2001/11/29 01:37:54; author: ianmacd; state: Exp; lines: +8 -24
removed _gid_function and made other modifications to account for the fact
that group completion is now standard in bash 2.05a
----------------------------
revision 1.29
date: 2001/11/26 19:19:59; author: ianmacd; state: Exp; lines: +5 -2
make _known_hosts() escape meta-characters in paths before handing off to awk
added missing ` in _service
----------------------------
revision 1.28
date: 2001/11/20 21:35:19; author: ianmacd; state: Exp; lines: +2 -3
$prev not needed in _scp
----------------------------
revision 1.27
date: 2001/11/20 05:15:48; author: ianmacd; state: Exp; lines: +43 -22
- default to _dirnames on _find
- fixed bug in _known_hosts that caused keys to be printed from known_hosts2
files
- made _ssh a little more intelligent
- added _scp
- made _cd expand ~ in directory specs
- declared i as a local variable in many functions
----------------------------
revision 1.26
date: 2001/11/05 00:11:48; author: ianmacd; state: Exp; lines: +11 -5
_rpm now uses /var/log/rpmpkgs if available (in RHL 7.2), since this is much
faster than rpm -qa, at the expense of actuality
_man completion now looks at section 'l' (local) of the manual
----------------------------
revision 1.25
date: 2001/09/21 20:51:30; author: ianmacd; state: Exp; lines: +5 -3
fixed bug in _cd that caused no completions to be returned if CDPATH was not
set and user was not trying to complete on an absolute path
----------------------------
revision 1.24
date: 2001/08/22 17:20:27; author: ianmacd; state: Exp; lines: +23 -23
reverted to previous version of _rpm, since last time's fixes broke more things than
they fixed.
----------------------------
revision 1.23
date: 2001/08/16 17:49:39; author: ianmacd; state: Exp; lines: +70 -17
added _command completion function and extended Perforce completion, both written by
Frank Cusack (frank@google.com)
----------------------------
revision 1.22
date: 2001/08/16 17:27:02; author: ianmacd; state: Exp; lines: +23 -23
made rpm completion work when -p option to check uninstalled packages is not concatenated
with other options (e.g. -ql -p instead of -qlp)
----------------------------
revision 1.21
date: 2001/07/12 05:52:25; author: ianmacd; state: Exp; lines: +6 -6
tune cd completion for standard dir completion when all else fails
p4 completion completes on files after first parameter
p4 completion now gives default completion if all else fails
----------------------------
revision 1.20
date: 2001/07/09 02:55:01; author: ianmacd; state: Exp; lines: +41 -21
corrected bug in have() support function - it returned false positives
umount, rmmod, find, rpm, apt-get, apt-cache, make use '-o filenames'
mount uses '-o default' to get default completion if all else fails
added basic perforce completion
----------------------------
revision 1.19
date: 2001/07/09 01:14:13; author: ianmacd; state: Exp; lines: +91 -12
added have() function for checking for presence of binaries
check for binaries before installing functions and completions
use '-o' option to 'complete' for optimal completion behaviour
basic tar(1), iptables(8), tcpdump(8) completion added
----------------------------
revision 1.18
date: 2001/05/21 22:10:29; author: ianmacd; state: Exp; lines: +10 -121
various clean-ups for bash 2.05 ('complete -o' means we can simplify a
bunch of default code)
_cd function made active again
meta default completion function removed (bash 2.05 has 'complete -o default')
----------------------------
revision 1.17
date: 2001/03/22 00:33:02; author: ianmacd; state: Exp; lines: +2 -2
fixed typo in rpm completion
----------------------------
revision 1.16
date: 2001/03/05 20:12:48; author: ianmacd; state: Exp; lines: +207 -21
don't try to do NFS mount completion if we don't seem to have showmount
fix quoting issue in insmod completion
add --specfile, --what{provides,requires} sections to RPM completion
move -*g) case glob down to end of case, to avoid catching --checksig in RPM
completion
check /etc/known_hosts2 & ~/.ssh/known_hosts2 for hosts in _known_hosts
completion
fixed typo in service completion
added preliminary _cd meta-function
added some more meta-functions from sample completions supplied with bash 2.04
source
----------------------------
revision 1.15
date: 2001/01/31 23:57:06; author: ianmacd; state: Exp; lines: +16 -1
modprobe -r now completes a la insmod
insmod/modprobe now complete on filenames if parameter contains a /
----------------------------
revision 1.14
date: 2001/01/31 23:30:49; author: ianmacd; state: Exp; lines: +8 -7
insmod completion was not completing module parameters correctly
man completion now resorts to filename completion if no /etc/man.config
----------------------------
revision 1.13
date: 2001/01/11 00:09:48; author: ianmacd; state: Exp; lines: +29 -1
added Red Hat service completion
----------------------------
revision 1.12
date: 2000/12/20 03:04:54; author: ianmacd; state: Exp; lines: +6 -2
added --rmsource as stand-alone option to RPM completion
----------------------------
revision 1.11
date: 2000/12/19 20:54:49; author: ianmacd; state: Exp; lines: +28 -11
fixed bug in killall completion that caused swapped out processes to not be
completed
added file_glob() function to rpm completion
----------------------------
revision 1.10
date: 2000/11/20 21:41:43; author: ianmacd; state: Exp; lines: +76 -45
rpm completion updated for extra options in rpm 4.x (added --eval, --pipe,
--rcfile, etc.)
some minor bug fixes to rpm completion; code tidied in places
added some outstanding long options to rpm completion (--install, --freshen,
--upgrade, --info, --list, --state, --docfiles, --queryformat, --verify etc.)
added -g group completion
----------------------------
revision 1.9
date: 2000/10/29 23:17:19; author: ianmacd; state: Exp; lines: +5 -5
fixed RPM completion. Not all RPMs were found when completing -e, etc.
----------------------------
revision 1.8
date: 2000/10/19 17:25:36; author: ianmacd; state: Exp; lines: +4 -20
reverted cd, mkdir & pushd to standard -d directory completion
----------------------------
revision 1.7
date: 2000/10/09 20:07:50; author: ianmacd; state: Exp; lines: +164 -16
default to filename completion if all else fails on _mound() and _find()
do filename completion in _man() if parameter contains a /
add filename completion to list of _man completions if no manual section
specified
added functionality to FreeS/WAN IPSec completion
added Debian apt-get & apt-cache completion
added more intelligent directory completion in new _directory function
----------------------------
revision 1.6
date: 2000/09/25 23:38:11; author: ianmacd; state: Exp; lines: +118 -30
added Makefile completion
split _ssh function up into a _known_hosts function for use by other commands
improved insmod completion with module paramter completion
----------------------------
revision 1.5
date: 2000/09/11 20:46:39; author: ianmacd; state: Exp; lines: +66 -10
fixed bug in man completion that caused pages with a dot in them
(e.g. lilo.conf) not to be found
ssh completion enhanced with command completion after host has been given
fixed bug in ssh completion that caused bad completions when completing on
a digit
added route(8) completion
----------------------------
revision 1.4
date: 2000/08/29 21:21:00; author: ianmacd; state: Exp; lines: +20 -11
fixed bug in killall completion (processes with a path were not completed)
added cipher completion to -c option of ssh
----------------------------
revision 1.3
date: 2000/08/29 02:41:27; author: ianmacd; state: Exp; lines: +116 -63
added ssh completion
cleaned the code in some of the other functions
----------------------------
revision 1.2
date: 2000/08/11 23:20:41; author: ianmacd; state: Exp; lines: +253 -1
added cvs, rpm, chkconfig and chsh completion
----------------------------
revision 1.1
date: 2000/08/09 00:17:29; author: ianmacd; state: Exp;
initial check-in of bash 2.04 programmable completion stuff
----------------------------
revision 1.504.2.4
date: 2003/01/02 18:41:37; author: ianmacd; state: Exp; lines: +2 -2
- update release to 20030102-devel
----------------------------
revision 1.504.2.3
date: 2003/01/02 02:33:32; author: ianmacd; state: Exp; lines: +2 -2
- add minor vim fix from main branch
----------------------------
revision 1.504.2.2
date: 2003/01/01 01:07:08; author: ianmacd; state: Exp; lines: +61 -90
- large function clean-up by "Guillaume Rousse" <rousse@ccr.jussieu.fr>
----------------------------
revision 1.504.2.1
date: 2003/01/01 01:05:35; author: ianmacd; state: Exp; lines: +160 -44
- split for devel branch
- rsync completion by "Guillaume Rousse" <rousse@ccr.jussieu.fr>
=============================================================================
|