Use system \[\033[01;32m\]\u@\h\[\033[01;34m\] \w\n\$\[\033[00m\] + bash completion for doas.
This commit is contained in:
parent
20c91b5e7f
commit
dfd2a1c9fd
7
.bashrc
7
.bashrc
@ -3,14 +3,17 @@
|
||||
#
|
||||
|
||||
# If not running interactively, don't do anything
|
||||
#[[ $- != *i* ]] && return
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
alias ls='ls --color=auto'
|
||||
PS1='[\u@\h \W]\$ '
|
||||
#PS1='[\u@\h \W]\$ '
|
||||
|
||||
# vi bindings
|
||||
set -o vi
|
||||
|
||||
# doas bash completion
|
||||
complete -cf doas
|
||||
|
||||
# default editor
|
||||
export EDITOR=nvim
|
||||
export VISUAL=nvim
|
||||
|
Loading…
Reference in New Issue
Block a user