@@ -18,7 +18,7 @@ _is_posix(){ shopt -oq posix; }
18
18
. /etc/profile
19
19
20
20
# Provides prompt for non-login shells, specifically shells started
21
- # in the X environment.
21
+ # in the X environment.
22
22
23
23
# TODO check case $- in (*i*)
24
24
# Make bash append rather than overwrite the history on disk
@@ -34,7 +34,7 @@ HISTCONTROL='ignorespace'
34
34
shopt -s cdspell autocd cdable_vars
35
35
36
36
# Do not complete when readline buf is empty
37
- shopt -s no_empty_cmd_completion
37
+ shopt -s no_empty_cmd_completion
38
38
39
39
# Extended glob (3.5.8.1) & find-all-glob with **
40
40
shopt -s extglob globstar
@@ -54,10 +54,6 @@ for c in {e,f,}grep {v,}dir ls; do alias $c="$c --color=auto"; done
54
54
# space and time efficient cp
55
55
alias cp=' cp --reflink=auto --sparse=always'
56
56
57
- # History Search
58
- bind ' "\e[A": history-search-backward'
59
- bind ' "\e[B": history-search-forward'
60
-
61
57
# So they can be unset.
62
58
# I need someone to help me assign those names properly.
63
59
# Those are actually bold colors.
@@ -97,7 +93,7 @@ _ret_prompt() {
97
93
_ret_same () { return $? ; }
98
94
99
95
# Base functions ready. Let's load bashrc.d.
100
- for script in /etc/bashrc.d/* ; do . " $script " ; done
96
+ for script in /etc/bashrc.d/* ; do . " $script " ; done
101
97
102
98
# The prompt depends on vcs_status! Get one backup anyway.
103
99
type _vcs_status & > /dev/null || ! echo _vcs_status not declared, making stub.. || alias _vcs_status=_ret_same
0 commit comments