$sudo gedit ~/.bashrc
使用getit编辑器打开后直接修改并保存。
export PATH="$PATH:$HOME/opt/Xilinx/Vivado/2018.1/bin" export RISCV="$HOME/heyyyy/apt/FreedomStudio/SiFive/riscv64-unknow-elf-gcc-20181030-x86_64-linux-centos6"