Parcourir la source

fix coments

pull/1/head
10sr il y a 11 ans
Parent
révision
d6d2339520
1 fichiers modifiés avec 4 ajouts et 2 suppressions
  1. +4
    -2
      shrc

+ 4
- 2
shrc Voir le fichier

@@ -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"


Chargement…
Annuler
Enregistrer