-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e67e87d
commit aef778d
Showing
4 changed files
with
45 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Moving around | ||
alias ..="cd .." | ||
alias ...="cd ../.." | ||
|
||
# SPACK | ||
export SPACK_ROOT=/usr/workspace/cdoutrix/spack | ||
alias activate_spack=". ${SPACK_ROOT}/share/spack/setup-env.sh" | ||
|
||
# CONDA | ||
export activate_conda="source /g/g19/cdoutrix/miniconda3/bin/activate" | ||
export activate_amlcs="conda activate /usr/workspace/aml_cs/kosh/toss_3_x86_64_ib/dev" | ||
|
||
## Git | ||
alias gci="git commit" | ||
alias gco="git checkout" | ||
alias gcl='${HOME}/bin/git-clean-local.py -s -V' | ||
alias gst='git status' | ||
alias gbr='for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r' | ||
alias gb='for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort' | ||
|
||
# Python | ||
alias pb="python setup.py install" | ||
alias p="ipython" | ||
PYTHONSTARTUP=${HOME}/.pythonrc | ||
JUPYTERLAB_DIR=${HOME}/.jupyter | ||
|
||
# Editors | ||
export EDITOR='vi' | ||
|
||
# History | ||
export HISTCONTROL=erasedups | ||
export HISTSIZE=1000000 | ||
export HISTFILESIZE=1000000 | ||
export TMOUT=0 | ||
|
||
# Unix | ||
alias ls="ls -h" | ||
alias md="mkdir" | ||
alias pd="pushd" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters