I have installed a lot of linux systems, such as Arch, Ubunt, Deepin, Freebsd, Centos, Fedora, OpenSuse, Gentoo, Lfs, Debian and so on.
Then I learn a lot about Installing Systems. When I have installed a system, I usually install some useful tools for it.
1, zsh oh-my-zsh
4, vim spf13-vim
sudo pacman -S sudo zsh tmux
sudo pacman -S vim w3m i3 mutt chromium
sudo pacman -S zsh
sudo pacman -S git wget
sh -c “$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh )”
1. Clone the repository:
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
2. Optionally, backup your existing ~/.zshrc file:
cp ~/.zshrc ~/.zshrc.orig
3. Create a new zsh configuration file
You can create a new zsh config file by copying the template that we included for you.
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
4. Change your default shell
chsh -s /bin/zsh
5. Initialize your new zsh configuration
Once you open up a new terminal window, it should load zsh with Oh My Zsh’s configuration.
file: /etc/sudoers or command: sudo visudo
add text: user ALL=NOPASSWD : ALL
sudo VISUAL=vim visudo
sudo EDITOR=vim visudo