安装自动补全插件
git clone git://github.com/zsh-users/zsh-autosuggestions$ZSH_CUSTOM/plugins/zsh-autosuggestions
运行以下命令更改配置
sudo nano ~/.zshrc
添加
plugins=(zsh-autosuggestions git)
使配置立即生效
source ~/.zshrc
安装语法高亮插件
运行以下命令
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
配置插件
echo "source $ZSH_CUSTOM/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
使配置立即生效
source ~/.zshrc
sudo输入密码显示星号(可选)
#运行命令
sudo nano /etc/sudoers
#添加以下内容
Defaults env_reset,pwfeedback
sudo pacman -Syy && sudo pacman -S archlinuxcn-keyring
pacman -S 软件名 #安装
pacman -Syu #更新
pacman -R 软件名 #移除
https://blog.csdn.net/nangy2514/article/details/93194184#4__49
sudo pacman -S --noconfirm archlinuxcn-keyring
sudo pacman -S vim
sudo pacman -S yaourt
sudo pacman -S yay
安装浏览器
sudo pacman -S --noconfirm firefox
安装中文插件
sudo pacman -S --noconfirm firefox-i18n-zh-cn
完整命令
sudo pacman -S --noconfirm firefox firefox-i18n-zh-cn
JDK
安装 jdk8
sudo pacman -S --noconfirm jdk8
配置环境:
vim /etc/profile
export JAVA_HOME=/usr/lib/jvm/default
export JRE_HOME=${JAVA_HOEM}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
应用环境变量
source /etc/profile
查看jdk版本
archlinux-java status
设置默认版本
archlinux-java set java-8-jdk
卸载开源opnjdk
查看jdk:
pacman -Qs jdk
卸载:
pacman -Rs jre8-openjdk
pacman -Rs jre8-openjdk-headles
java已经闭源,现在都是开源的,如果想闭源,去java官网下载安装
代码色彩
安装
sudo pacman -S lolcat
使用
ls | lolcat
代码雨
安装
sudo pacman -S cmatrix
使用
ls | cmatrix -b -c blue
联合使用
ls | cmatrix -b -c blue | lolcat
(装b神器,安装screenfetch也可)
sudo pacman -S neofetch
sudo pacman -S screenfetch
sudo pacman -S speedcrunch
一键安装脚本
rm -f finalshell_install_linux.sh
wget www.hostbuf.com/downloads/finalshell_install_linux.sh
chmod +x finalshell_install_linux.sh
./finalshell_install_linux.sh;
http://www.hostbuf.com/t/1059.html