Browse Source

fix coments

pull/1/head
10sr 11 years ago
parent
commit
d6d2339520
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      shrc

+ 4
- 2
shrc View File

@@ -331,14 +331,16 @@ __safe_alias pc="sudo \paco -D"
alias pycalc="python -i -c 'from math import *' "
__safe_alias py3=python3
__safe_alias py2=python2
# SHELL cannot be used. for example, run bash inside zsh, SHELL is set to be
# /bin/zsh
# Sometimes SHELL cannot be used. For example, when running bash inside zsh
# SHELL is set to be /bin/zsh
if $inbash
then
alias _reloadrc="exec bash"
elif $inzsh
then
alias _reloadrc="exec zsh"
else
alias _reloadrc="exec $SHELL"
fi
# alias mytime="date +%Y%m%d-%H%M%S"
alias sh="ENV=$HOME/.shrc PS1=\$\ PROMPT_COMMAND="" sh"


Loading…
Cancel
Save