.bash_profile
来自「山寨手机用的」· BASH_PROFILE 代码 · 共 37 行
BASH_PROFILE
37 行
# Begin ~/.bash_profile# Written for Beyond Linux From Scratch# by James Robertson <jameswrobertson@earthlink.net># updated by Bruce Dubbs <bdubbs@linuxfromscratch.org># Personal environment variables and startup programs.# Personal aliases and functions should go in ~/.bashrc. System wide# environment variables and startup programs are in /etc/profile.# System wide aliases and functions are in /etc/bashrc.append () { # First remove the directory local IFS=':' local NEWPATH for DIR in $PATH; do if [ "$DIR" != "$1" ]; then NEWPATH=${NEWPATH:+$NEWPATH:}$DIR fi done # Then append the directory export PATH=$NEWPATH:$1}if [ -f "$HOME/.bashrc" ] ; then source $HOME/.bashrcfiif [ -d "$HOME/bin" ] ; then append $HOME/binfiunset append# End ~/.bash_profile
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?