好好百科

分享有趣又有用的知识

用户工具

站点工具


侧边栏

导航菜单

archlinux:tool:bash

bash

.bash_profile
#
# ~/.bash_profile
#
 
[[ -f ~/.bashrc ]] && . ~/.bashrc
.bashrc
#
# ~/.bashrc
#
 
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
 
PS1='[\u@\h \W]\$ '
export EDITOR="vim"
export PIPENV_VENV_IN_PROJECT=1
export PIPENV_PYPI_MIRROR="https://mirrors.cloud.tencent.com/pypi/simple"
export PIPENV_SKIP_LOCK=1
 
alias ls="ls --color=auto"
alias install="sudo pacman -Sy"
alias upgrade="sudo pacman -Syyu"
alias commit="git commit -a && git push"
alias catconf="grep -v '^(#|\s*$)'"
alias md5chk="md5sum -c"
.bash_logout
#
# ~/.bash_logout
#
 
clear
reset
archlinux/tool/bash.txt · 最后更改: 2019/08/26 09:23 由 老赵