瀏覽代碼

Add some alias to always use nice

pull/15/head
10sr 8 年之前
父節點
當前提交
a3b7dd0d89
共有 1 個文件被更改,包括 7 次插入1 次删除
  1. +7
    -1
      shrc

+ 7
- 1
shrc 查看文件

@@ -299,6 +299,13 @@ alias pu=pushd
__safe_alias sudo="sudo " # use aliases through sudo
__safe_alias sudoe="sudoedit"

__safe_alias make="nice make"
__safe_alias brew="nice brew"
__safe_alias gcc="nice gcc"
__safe_alias go="nice go"
__safe_alias git="nice git"
__safe_alias javac="nice javac -J-Duser.language=en"

alias rand="echo \$RANDOM"
alias pycalc="python -i -c 'from math import *' "
__safe_alias py3=python3
@@ -306,7 +313,6 @@ __safe_alias py2=python2
__safe_alias ipy=ipython
__safe_alias ipy3=ipython3
__safe_alias ipy2=ipython2
__safe_alias javac="javac -J-Duser.language=en"
__safe_alias rl=rlwrap
__safe_alias igosh=gosh-rl
# Sometimes SHELL cannot be used. For example, when running bash inside zsh


Loading…
取消
儲存