diff --git a/bash_aliases b/bash_aliases index fa8477b..b3dbc67 100644 --- a/bash_aliases +++ b/bash_aliases @@ -36,6 +36,12 @@ function ps-color() { # false #} +# Catch an enter keypress and call our preexec function. +#bind -x '"\M-\C-h1": prompt_preexec' +#bind '"\M-\C-h2": accept-line' +#bind '"\C-j": "\M-\C-h1\M-\C-h2"' +#bind '"\C-m": "\M-\C-h1\M-\C-h2"' + eval " function prompt_ps1_exit_status() { @@ -92,12 +98,6 @@ function prompt_ps1_svn_branch() fi } -# Catch an enter keypress and call our preexec function. -#bind -x '"\M-\C-h1": prompt_preexec' -#bind '"\M-\C-h2": accept-line' -#bind '"\C-j": "\M-\C-h1\M-\C-h2"' -#bind '"\C-m": "\M-\C-h1\M-\C-h2"' - if [[ "${USER}" == "root" ]]; then eval "function prompt_command_set_ps1() {