readline, bash: succint PS1, vi mode

parent 4d10fa68
......@@ -5,5 +5,5 @@
eval "$(dircolors)"
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
PS1='$ '
complete -C 'd completion' d
"\C-i": menu-complete
"\e[Z": menu-complete-backward
set editing-mode vi
set show-all-if-ambiguous on
set menu-complete-display-prefix on
set keymap vi-command
"\C-i": menu-complete
"\e[Z": menu-complete-backward
"\C-o": operate-and-get-next
set keymap vi-insert
"\C-i": menu-complete
"\e[Z": menu-complete-backward
"\C-o": operate-and-get-next
"\C-l": clear-screen
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment