In csh: bindkey ^[[A history-search-backward bindkey ^[[B history-search-forward write into ~/.cshrc In bash: e[A: history-search-backward e[B: history-search-forward set show-all-if ambiguous on set completion-ignore-case on write into ~/.inputrc ...