Hello!<div><br></div><div>I don't think this is a bug, that is why I am sending you a mail, because it is too much for your bugreports, and I think it is more of  a "me" problem, and a software problem. And I have worked so HARD to make this work, so I hope you take your time to look through the data I send with you, because I guess you can easily pinpoint it. And I NEED this! I am supposed to have a whole lot of stuff going on, where this will help me.</div>
<div><br></div><div><br></div><div>There is one thing with this I ought to tell you right away, and that is, that I am having bash installed as login shell, correctly, but Snow Leopard didn't ship with</div><div><br></div>
<div>My problem right now is this that it doesn't work at all; when I hit "ls" for instance I get this as a result:</div><div>------------------------------------------------------------------</div><div><div>
-bash: /bin/ls: Argument list too long</div><div>878$ </div><div>878$ </div><div>878$ bash --version</div><div>-bash: /opt/local/bin/bash: Argument list too long</div></div><div>------------------------------------------------------------------</div>
<div><br></div><div> I am using bash_complete Release 1.99 (downloaded 2 days ago)</div><div><div><br></div><div>I am using Mac Os X Snow Leopard Latest Patch 10.6.8</div><div><br></div></div><div>I am using " GNU bash, version 4.2.29(2)-release (i386-apple-darwin10.8.0)"</div>
<div><br></div><div>I use Terminal.app for Mac Os X Version 2.1.2 (273.1)  I have specified My terminal type to xterm-color. LC_ALL, and that are sent to the shell from the Terminal.app.</div><div><br></div><div>I'm sending both my .inputrc and my .bashrc, and I really hope you can and will help me!</div>
<div><br></div><div>Thanks in advance!</div><div><br></div><div>Tommy Bollman /McUsr</div><div><br></div><div>My .bashrc looks like this, with your software in it, but then the keyboard, is almost hanging, the commandline interpreter not working. </div>
<div><br></div><div>The other bash_complete you se there is version 1.3 for Bash 3.1x, which don't work well.</div><div><br></div><div><div>#!/opt/local/bin/bash</div><div># ************* set -v -x </div><div># ************* Debug </div>
<div># the help command is great for the interal bash commands!</div><div><br></div><div>export DISPLAY=:0.0</div><div>export IFS=' <span class="Apple-tab-span" style="white-space:pre"> </span></div><div>'</div><div>
TZ=CET</div><div>export TZ</div><div>export TERMINFO=$TERM</div><div><br></div><div>export TMOUT=90000 </div><div># 25 hours in seconds before timeout</div><div><br></div><div># ***********      SAFETY        ************************</div>
<div><br></div><div>ulimit -S -c 0</div><div># Provides  control  over the resources available to the shell and</div><div># to processes started by it, on systems that allow such  control.</div><div>#</div><div>#     -S option specify that the soft limit is set</div>
<div>#        for the given resource. A soft limit may be increased up to </div><div>#        the value of the hard limit.          (Automatic )</div><div>#</div><div>#     -c The maximum size of core files created (0)</div>
<div><br></div><div><br></div><div># *************** SET - OPTIONS **************************</div><div><br></div><div>set -a </div><div># Automatically mark variables  and  functions  which  are</div><div># modified  or  created  for  export to the environment of</div>
<div># subsequent commands. (shopt allexport)</div><div><br></div><div>set -b      </div><div># Report the status of terminated background jobs  immedi-</div><div># ately, rather than before the next primary prompt.  This</div>
<div># is effective only when job control is enabled.</div><div><br></div><div># set -e </div><div># Exit immediately if a simple command (see SHELL  GRAMMAR</div><div># above) exits with a non-zero status.  The shell does not</div>
<div># exit if the command that fails is part  of  the  command</div><div># list  immediately  following  a  while or until keyword,</div><div># part of the test in an if statement, part of a && or  ||</div><div># list, or if the command's return value is being inverted</div>
<div># via !.  A trap on ERR, if set, is  executed  before  the</div><div># shell exits.</div><div><br></div><div># set -f</div><div># Disable pathname expansion.</div><div>  </div><div>set -h      </div><div># Remember  the location of commands as they are looked up</div>
<div># for execution.  This is enabled by default.</div><div><br></div><div># set -k #     </div><div># All arguments in the form of assignment  statements  are</div><div># placed  in the environment for a command, not just those</div>
<div># that precede the command name. (!! declare -x stmnts !!)</div><div><br></div><div>set -m    #  AV</div><div># Monitor mode.  Job control is enabled.  This  option  is</div><div># on  by  default  for  interactive shells on systems that</div>
<div># support it (see JOB  CONTROL  above).   Background  pro-</div><div># cesses  run  in a separate process group and a line con-</div><div># taining their exit status is printed upon their  comple-</div><div># tion.</div>
<div>  </div><div># set -n </div><div># Read commands but do not execute them.  This may be used</div><div># to check a shell script  for  syntax  errors.   This  is</div><div># ignored by interactive shells.</div><div><br>
</div><div><br></div><div># *************** SET -o OPTIONS **************************</div><div><br></div><div># allexport </div><div># Same as -a. (Above)</div><div><br></div><div># set -o braceexpand </div><div># Same as -B. (Below)</div>
<div><br></div><div>set -o emacs </div><div># Use an emacs-style command line editing inter-</div><div># face. This is enabled by default when the shell</div><div># is interactive, unless the shell is started with</div><div>
# the --noediting option.</div><div><br></div><div># set -o errtrace</div><div># Same as -E. (Below)</div><div><br></div><div># set -o functrace </div><div># Same as -T. (Above)</div><div><br></div><div># set -o errexit </div>
<div># Same as -e. (Above)</div><div><br></div><div># set -o hashall </div><div># Same as -h. (Above)</div><div><br></div><div># set -o histexpand </div><div># Same as -H. (Below)</div><div><br></div><div># set -o history </div>
<div># Enable  command history, as described above under HISTORY. </div><div># This option is on by default in interactive shells.</div><div><br></div><div># seet -o keyword </div><div># Same as -k. (Above)</div><div><br>
</div><div># set -o monitor </div><div># Same as -m (Above)</div><div><br></div><div># set -o noclobber</div><div># Same as -C. (Below)</div><div><br></div><div># set -o noexec  </div><div># Same as -n. (Above)</div><div>
<br></div><div># set -o noglob </div><div># Same as -f. (Above)</div><div><br></div><div># set -o </div><div># nolog Currently ignored.</div><div><br></div><div># set -o notify </div><div># Same as -b. (Above)</div><div><br>
</div><div># set -o nounset </div><div># Same as -u. (Below)</div><div><br></div><div># set -o onecmd </div><div># Same as -t. (Below)</div><div><br></div><div># set -o physical</div><div># Same as -P. (Below)</div><div><br>
</div><div># set -o pipefail</div><div># If set, the return value of a pipeline is the</div><div># value of the last (rightmost) command to exit</div><div># with a non-zero status, or zero if all commands</div><div># in the pipeline exit successfully. This option</div>
<div># is disabled by default.</div><div><br></div><div># set -o posix </div><div># Change the behavior of bash where the default</div><div># operation differs from the POSIX standard to</div><div># match the standard (posix mode)</div>
<div><br></div><div># set -o privileged</div><div># Same as -p. (Below)</div><div><br></div><div># set -o verbose </div><div># Same as -v. (Below)</div><div><br></div><div># set -o vi </div><div># Use a vi-style command line editing interface.</div>
<div><br></div><div># set -o xtrace </div><div># Same as -x. (Below) </div><div><br></div><div># *************** SET - OPTIONS **************************</div><div><br></div><div># set -p </div><div># Turn on privileged mode. In this mode, the $ENV and</div>
<div># $BASH_ENV files are not processed, shell functions are</div><div># not inherited from the environment, and the SHELLOPTS</div><div># variable, if it appears in the environment, is ignored.</div><div># If the shell is started with the effective user (group)</div>
<div># id not equal to the real user (group) id, and the -p</div><div># option is not supplied, these actions are taken and the</div><div># effective user id is set to the real user id. If the -p</div><div># option is supplied at startup, the effective user id is</div>
<div># not reset. Turning this option off causes the effective</div><div># user and group ids to be set to the real user and group</div><div># ids.</div><div><br></div><div># set -t </div><div># Exit after reading and executing one command.</div>
<div><br></div><div># set -u </div><div># Treat unset variables as an error when performing param-</div><div># eter expansion. If expansion is attempted on an unset</div><div># variable, the shell prints an error message, and, if not</div>
<div><br></div><div># set -v </div><div># Print shell input lines as they are read.</div><div><br></div><div># set -x </div><div># After expanding each simple command, for command, case</div><div># command, select command, or arithmetic for command, dis-</div>
<div># play the expanded value of PS4, followed by the command</div><div># and its expanded arguments or associated word list.</div><div><br></div><div>set -B </div><div># The shell performs brace expansion (see Brace Expansion</div>
<div># above). This is on by default.</div><div><br></div><div>set -C </div><div># If set, bash does not overwrite an existing file with</div><div># the >, >&, and <> redirection operators. This may be</div>
<div># overridden when creating output files by using the redi-</div><div># rection operator >| instead of >.</div><div><br></div><div># set -E </div><div># If set, any trap on ERR is inherited by shell functions,</div>
<div># command substitutions, and commands executed in a sub-</div><div># shell environment. The ERR trap is normally not inher-</div><div># ited in such cases.</div><div><br></div><div>set -H </div><div># Enable ! style history substitution. This option is on</div>
<div># by default when the shell is interactive.</div><div><br></div><div># set -P </div><div># If set, the shell does not follow symbolic links when</div><div># executing commands such as cd that change the current</div>
<div># working directory. It uses the physical directory</div><div># structure instead. By default, bash follows the logical</div><div># chain of directories when performing commands which </div><div># change the current directory.</div>
<div><br></div><div># set -T </div><div># If set, any traps on DEBUG and RETURN are inherited by</div><div># shell functions, command substitutions, and commands</div><div># executed in a subshell environment. The DEBUG and</div>
<div># RETURN traps are normally not inherited in such cases.</div><div><br></div><div># set -- </div><div># If no arguments follow this option, then the positional</div><div># parameters are unset. Otherwise, the positional parame-</div>
<div># ters are set to the args, even if some of them begin</div><div># with a -.</div><div><br></div><div># set - </div><div># Signal the end of options, cause all remaining args to</div><div># be assigned to the positional parameters. The -x and -v</div>
<div># options are turned off. If there are no args, the posi-</div><div># tional parameters remain unchanged.</div><div><br></div><div># The options are off by default unless otherwise noted. Using +</div><div># rather than - causes these options to be turned off. The</div>
<div># options can also be specified as arguments to an invocation of</div><div># the shell. The current set of options may be found in $-. The</div><div># return status is always true unless an invalid option is encoun-</div>
<div># tered.</div><div><br></div><div># ************* SHOPTIONS ***************************</div><div><br></div><div>shopt -s cdable_vars</div><div># If set, an argument to the cd builtin  command  that  is</div><div># not  a directory is assumed to be the name of a variable</div>
<div># whose value is the directory to change to.</div><div><br></div><div>shopt -s cdspell</div><div># If set, minor errors in the spelling of a directory com-</div><div># ponent  in  a  cd command will be corrected.  The errors</div>
<div># checked for are transposed characters, a missing charac-</div><div># ter,  and  one  character  too many.  If a correction is</div><div># found, the corrected file name is printed, and the  com-</div><div># mand  proceeds.  This option is only used by interactive</div>
<div># shells.</div><div><br></div><div>shopt -s checkhash</div><div># If set, bash checks that a command found in the hash ta-</div><div># ble  exists  before  trying  to execute it.  If a hashed</div><div># command no longer exists, a normal path search  is  per-</div>
<div># formed.</div><div><br></div><div>shopt -s checkwinsize</div><div># If  set,  bash checks the window size after each command</div><div># and, if necessary, updates the values of LINES and  COL-</div><div># UMNS.</div>
<div><br></div><div>shopt -s cmdhist </div><div># If  set,  bash attempts to save all lines of a multiple-</div><div># line command in the same  history  entry.   This  allows</div><div># easy re-editing of multi-line commands.</div>
<div><br></div><div># shopt -s compat31 11</div><div># If set, bash changes its behavior to that of version 3.1</div><div># with respect to quoted arguments to the conditional com-</div><div># mand's =~ operator.</div>
<div><br></div><div># !!! NY SETTING!!!</div><div>shopt -s dotglob </div><div># If  set, bash includes filenames beginning with a `.' in</div><div># the results of pathname expansion.</div><div># Det er noe mellom dene og noclobber i bash - fila.</div>
<div># !!! NY SETTING!!!</div><div><br></div><div>shopt -u execfail</div><div># If set, a non-interactive shell will not exit if it can-</div><div># not  execute  the  file  specified as an argument to the</div><div># exec builtin command.  An  interactive  shell  does  not</div>
<div># exit if exec fails.</div><div><br></div><div>shopt -s expand_aliases</div><div># If  set,  aliases  are expanded as described above under</div><div># ALIASES.  This option is enabled by default for interac-</div><div>
# tive shells.</div><div><br></div><div># shopt -s  extdebug</div><div>#  If set, behavior intended for use by debuggers is</div><div>#  enabled:</div><div>#</div><div>#  1. The -F option to the declare builtin displays the</div>
<div>#     source file name and line number corresponding to</div><div>#     each function name supplied as an argument.</div><div>#</div><div>#  2. If the command run by the DEBUG trap returns a</div><div>#     non-zero value, the next command is skipped and</div>
<div>#     not executed.</div><div># </div><div>#  3. If the command run by the DEBUG trap returns a</div><div>#     value of 2, and the shell is executing in a sub-</div><div>#     routine (a shell function or a shell script exe-</div>
<div>#     cuted by the . or source builtins), a call to</div><div>#     return is simulated.</div><div># </div><div>#  4. BASH_ARGC and BASH_ARGV are updated as described</div><div>#     in their descriptions above.</div>
<div># </div><div>#  5. Function tracing is enabled: command substitu-</div><div>#     tion, shell functions, and subshells invoked with</div><div>#     ( command ) inherit the DEBUG and RETURN traps.</div><div># </div><div>
#  6. Error tracing is enabled: command substitution,</div><div>#     shell functions, and subshells invoked with (</div><div>#     command ) inherit the ERROR trap.</div><div><br></div><div>shopt -s extglob</div><div># If set, the extended pattern matching features described</div>
<div># above under Pathname Expansion are enabled.</div><div><br></div><div># # ?(pattern-list)</div><div># Matches zero or one occurrence of the given patterns</div><div># *(pattern-list)</div><div># Matches zero or more occurrences of the given patterns</div>
<div># +(pattern-list)</div><div># Matches one or more occurrences of the given patterns</div><div># @(pattern-list)</div><div># Matches exactly one of the given patterns</div><div># !(pattern-list)</div><div># Matches anything except one of the given patterns</div>
<div><br></div><div># Here's an example. Say, you wanted to install all RPMs in a given directory, # </div><div># except those built for the noarch architecture. You might use something like # # this:</div><div># rpm -Uvh /usr/src/RPMS/!(*noarch*)</div>
<div><br></div><div># These expressions can be nested, too, so if you wanted a directory listing of </div><div># all non PDF and PostScript files in the current directory, you might do this:</div><div># ls -lad !(*.p@(df|s))</div>
<div><br></div><div><br></div><div><br></div><div>shopt -s extquote</div><div># If set, $'string' and  $"string"  quoting  is  performed</div><div># within   ${parameter}   expansions  enclosed  in  double</div>
<div># quotes.  This option is enabled by default.</div><div><br></div><div># !!! NY SETTING!!! </div><div># shopt -s failglob 44</div><div># If set, patterns which fail to  match  filenames  during</div><div># pathname expansion result in an expansion error.</div>
<div># !!! NY SETTING!!!</div><div><br></div><div>shopt -s force_fignore</div><div># If  set,  the  suffixes  specified  by the FIGNORE shell</div><div># variable cause words to be ignored when performing  word</div><div>
# completion even if the ignored words are the only possi-</div><div># ble  completions.   See  SHELL  VARIABLES  above  for  a</div><div># description  of  FIGNORE.   This  option  is  enabled by</div><div># default.</div>
<div><br></div><div>shopt -s gnu_errfmt</div><div># If set, shell error messages are written in the standard</div><div># GNU error message format.</div><div><br></div><div>shopt -s histappend</div><div># If  set,  the history list is appended to the file named</div>
<div># by the value of the HISTFILE  variable  when  the  shell</div><div># exits, rather than overwriting the file.</div><div><br></div><div>shopt -s histreedit </div><div># If  set, and readline is being used, a user is given the</div>
<div># opportunity to re-edit a failed history substitution.</div><div><br></div><div>shopt -s histverify </div><div># If set, and readline is being used, the results of  his-</div><div># tory  substitution  are  not  immediately  passed to the</div>
<div># shell parser.  Instead, the  resulting  line  is  loaded</div><div># into the readline editing buffer, allowing further modi-</div><div># fication.</div><div><br></div><div>shopt -s  hostcomplete </div><div># If set, and readline is being used, bash will attempt to</div>
<div># perform  hostname  completion when a word containing a @</div><div># is  being  completed  (see  Completing  under   READLINE</div><div># above).  This is enabled by default.</div><div><br></div><div>shopt -s huponexit</div>
<div># If set, bash will send SIGHUP to all jobs when an inter-</div><div># active login shell exits.</div><div><br></div><div>shopt -s interactive_comments</div><div># If set, allow a word beginning with # to cause that word</div>
<div># and  all remaining characters on that line to be ignored</div><div># in an interactive  shell  (see  COMMENTS  above).   This</div><div># option is enabled by default.</div><div><br></div><div>shopt -u lithist </div>
<div># If  set,  and  the cmdhist option is enabled, multi-line</div><div># commands are saved to the history with embedded newlines</div><div># rather than using semicolon separators where possible.</div><div><br></div><div>
# login_shell</div><div># The  shell  sets this option if it is started as a login</div><div># shell (see INVOCATION above).   The  value  may  not  be</div><div># changed.</div><div><br></div><div>shopt -u  mailwarn</div>
<div># If  set,  and  a file that bash is checking for mail has</div><div># been accessed since the last time it  was  checked,  the</div><div># message  ``The  mail in mailfile has been read'' is dis-</div><div># played.</div>
<div><br></div><div># !!! NY SETTING!!!</div><div> shopt -u no_empty_cmd_completion </div><div># If set, and  readline  is  being  used,  bash  will  not</div><div># attempt to search the PATH for possible completions when</div>
<div># completion is attempted on an empty line.</div><div># !!! NY SETTING!!!</div><div><br></div><div>shopt -u nocaseglob</div><div># If set, bash matches  filenames  in  a  case-insensitive</div><div># fashion when performing pathname expansion (see Pathname</div>
<div># Expansion above).</div><div><br></div><div>shopt -u nocasematch</div><div># If set, bash  matches  patterns  in  a  case-insensitive</div><div># fashion when performing matching while executing case or</div><div># [[ conditional commands.</div>
<div><br></div><div>shopt -s nullglob # 33</div><div># If set, bash allows patterns which match no  files  (see</div><div># Pathname  Expansion  above)  to expand to a null string,</div><div># rather than themselves.</div>
<div><br></div><div><br></div><div>shopt -s progcomp</div><div># If set, the programmable completion facilities (see Pro-</div><div># grammable Completion above) are enabled.  This option is</div><div># enabled by default.</div>
<div><br></div><div>shopt -s promptvars</div><div># If set, prompt strings undergo parameter expansion, com-</div><div># mand   substitution,  arithmetic  expansion,  and  quote</div><div># removal after being expanded as described  in  PROMPTING</div>
<div># above.  This option is enabled by default.</div><div><br></div><div># restricted_shell</div><div># The   shell  sets  this  option  if  it  is  started  in</div><div># restricted mode (see RESTRICTED SHELL below).  The value</div>
<div># may  not be changed.  This is not reset when the startup</div><div># files are executed, allowing the startup files  to  dis-</div><div># cover whether or not a shell is restricted.</div><div><br></div><div>shopt -s shift_verbose</div>
<div># If  set,  the shift builtin prints an error message when</div><div># the shift count exceeds the number of positional parame-</div><div># ters.</div><div><br></div><div>shopt -s  sourcepath</div><div># If set, the source (.) builtin uses the value of PATH to</div>
<div># find the directory containing the file  supplied  as  an</div><div># argument.  This option is enabled by default.</div><div><br></div><div>shopt -s xpg_echo</div><div># If   set,  the  echo  builtin  expands  backslash-escape</div>
<div># sequences by default.</div><div><br></div><div># ************ HISTORY SYSTEM ****************************</div><div><br></div><div># the $HISTCMD variable contains nr of last event.</div><div> </div><div>HISTCONTROL=ignoredups</div>
<div>HISTFILE=~/.bash_history</div><div>HISTFILESIZE=2000<span class="Apple-tab-span" style="white-space:pre">      </span></div><div>HISTSIZE=2000</div><div>HISTIGNORE=\!:\/:\^:ls:'ls -l':'man bash':exit:'cd..'</div>
<div><br></div><div>HISTTIMEFORMAT="%a%c " # VER. 3.0 and  later.</div><div><br></div><div>export HISTFILESIZE HISTSIZE HISTCONTROL HISTIGNORE HISTTIMEFORMAT</div><div><br></div><div>alias hi="history |less"</div>
<div><br></div><div>export FCEDIT="nano -k "<span class="Apple-tab-span" style="white-space:pre">   </span></div><div># history command line editor invoked with 'fc'</div><div><br></div><div># *******************************************************</div>
<div><br></div><div>export HIST_STARTNUM=`wc -l <~/.bash_history`</div><div>source ~/.inputrc</div><div>source ~/etc/promptsetup</div><div><br></div><div># source ~/.init/functions</div><div># export NETWORKUP=""</div>
<div># CheckForNetwork</div><div><br></div><div><br></div><div>#  ~/Documents/* ~/Documents/Prj/* ~/Library/* ~/Library/Scripts/* ~/Library/Scripts/Applications/* ~/Library/Application\ Support/* ~/Library/* /Library/Scripts/* ~/Library/Application\ Support/* /opt/local/* /opt/local/share/* /usr/local/*  /usr/local/share/* /Developer/* /Developer/usr/* /Developer/usr/share/* /*  </div>
<div><br></div><div># CDPATH=".:..:~:~/Desktop:~/Documents:~/Documents/Prj:~/bin:/usr/local:/usr/local/share:/opt/local"</div><div><br></div><div>#for realm in ~/* ~/Desktop/* ~/Documents/* ~/Documents/Prj/* ~/Library/* ~/Library/Scripts/* ~/Library/Scripts/Applications/* ~/Library/Application\ Support/* ~/Library/* /Library/Scripts/* ~/Library/Application\ Support/* /opt/local/* /opt/local/share/* /usr/local/*  /usr/local/share/* /Developer/* /Developer/usr/* /Developer/usr/share/* /* </div>
<div>#do</div><div>#<span class="Apple-tab-span" style="white-space:pre">   </span>for folder in $realm</div><div>#<span class="Apple-tab-span" style="white-space:pre">        </span>do</div><div>#<span class="Apple-tab-span" style="white-space:pre">                  </span>if [ -d ${folder} ] </div>
<div>#<span class="Apple-tab-span" style="white-space:pre">                     </span>then </div><div>#<span class="Apple-tab-span" style="white-space:pre">                       </span> CDPATH="$CDPATH":"$folder"</div><div>#<span class="Apple-tab-span" style="white-space:pre">                     </span>fi</div>
<div>#<span class="Apple-tab-span" style="white-space:pre">     </span>done</div><div>#done</div><div><br></div><div>#export CDPATH</div><div><br></div><div># shopt -s nullglob must be set for succesful use of this construct.</div>
<div><br></div><div>export PATH=$HOME/bin:/opt/local/bin:/opt/local/sbin:$PATH:$MYSQLBIN</div><div># Path initially set up in in MacOsx.plist</div><div><br></div><div>export EDITOR=/usr/bin/bbedit</div><div><br></div><div>
export PAGER=/usr/bin/less </div><div>export LESS="-I  -R -f -J -S -g -M -x 4"</div><div># -a All hits current page</div><div># -I Ignore case ; </div><div># -r "raw" ikke behandle ctrl-chars, </div><div>
# -R Raw, but shows ansi escape sequences</div><div># -F Don't open file if less than screen ful</div><div># -f force open special files (may be binary) </div><div># -J vis status kolonne </div><div># -S chop long lines.</div>
<div># -g highlight only last match</div><div># -M Most Verbose ...</div><div>export LESSOPEN='| /Users/tommybollman/bin/lesspipe %s'</div><div><br></div><div>export MANPAGER=/usr/bin/less</div><div><br></div><div>
export CLICOLOR=1<span class="Apple-tab-span" style="white-space:pre">        </span>#enables commandline colors</div><div>export LSCOLORS=bxGxcxdxbxegedabagacad</div><div><br></div><div># *****************************************************************************</div>
<div><br></div><div># source ~/.init/aliases<span class="Apple-tab-span" style="white-space:pre">             </span></div><div># set -v -x</div><div># if [ -f ~/.init/bash_completion ]; then</div><div>#source ~/.init/bash_completion</div>
<div>#fi</div><div>export BASH_COMPLETION=/Users/tommybollman/etc/bash_completion</div><div># export BASH_COMPLETION=/usr/local/etc/bash_completion</div><div><br></div><div><br></div><div>export BASH_COMPLETION_DIR=/Users/tommybollman/etc/bash_completion.d</div>
<div># export BASH_COMPLETION_DIR=/usr/local/etc/bash_completion.d</div><div><br></div><div><br></div><div><br></div><div># source /usr/local/etc/bash_completion</div><div>source /Users/tommybollman/etc/bash_completion</div>
<div><br></div><div># complete -r cd</div><div># complete -r cat</div><div># complete -r mv</div><div># complete -r ls</div><div><br></div><div># Dette lar den interne kommandoen gjøre jobben!</div><div><br></div><div>###############################################################</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>export TODOTXT_DEFAULT_ACTION=ls</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>source ~/etc/bash_completion.d/todo_completion</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>source ~/etc/bash_completion.d/git-completion.bash </div><div><span class="Apple-tab-span" style="white-space:pre">  </span>alias t='todo.sh -d /Users/tommybollman/.todo.cfg'</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>complete -F _todo t</div><div>###############################################################</div><div>alias more=/usr/bin/less</div></div><div><br></div>
<div>—————————————————————————Eof bashrc -> .inputrc</div><div><br></div><div><div># inputrc </div><div># </div><div># <a href="http://www.caliban.org/bash/#completion_contact">http://www.caliban.org/bash/#completion_contact</a></div>
<div><br></div><div>set show-all-if-ambiguous on </div><div># If you have this in your /etc/inputrc or ~/.inputrc, you will no longer have to hit </div><div># the Tab key twice to produce a list of all possible completions. A single  Tab</div>
<div># will suffice. This setting is highly recommended.</div><div><br></div><div># set visible-stats on</div><div># Adding this to your /etc/inputrc or ~/.inputrc will result in a character being appended </div><div># to any file-names returned by completion, in much the same way as ls -F works.</div>
<div><br></div><div># "\ep": history-search-backward</div><div><br></div><div># "\en": history-search-forward</div><div><br></div><div># Some people prefer the non-incremental style of history completion, as opposed to the incremental</div>
<div># style offered by C-r and C-s. This is the style of history completion offered by csh.</div><div># bash offers bindings for this, but they are unbound by default.</div><div># Set the following in your /etc/inputrc or ~/.inputrc:</div>
<div><br></div><div>#  You can get the pre-2.05a behaviour back by putting</div><div># set mark-symlinked-directories on</div><div><br></div></div>