$ sudo dnf install vim-enhanced bash-completion -y
$ sudo vim /etc/vimrc
...
set tabstop=2
set shiftwidth=2
set expandtab
Set default editor to vim.
$ sudo vim /etc/profile
...
EDITOR=vim
After installing bash completion you need to login out and then login before completion takes affect.
No comments:
Post a Comment