Skip to content

Instantly share code, notes, and snippets.

@arnaldog12
Last active June 8, 2020 19:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arnaldog12/53e2a54f4dde2cb13a481541bbcdca03 to your computer and use it in GitHub Desktop.
Save arnaldog12/53e2a54f4dde2cb13a481541bbcdca03 to your computer and use it in GitHub Desktop.
Aliases
# Windows (Cmder)
;= @echo off
;= rem Call DOSKEY and use this file as the macrofile
;= %SystemRoot%\system32\doskey /listsize=1000 /macrofile=%0%
;= rem In batch mode, jump to the end of the file
;= goto:eof
;= Add aliases below here
e.=explorer .
gl=git log --oneline --all --graph --decorate $*
ls=ls --show-control-chars -F --color $*
pwd=cd
clear=cls
history=cat -n "%CMDER_ROOT%\config\.history"
unalias=alias /d $1
vi=vim $*
cmderr=cd /d "%CMDER_ROOT%"
ca=conda activate $1
jn=jupyter notebook
cdex=conda deactivate $T exit
cde=conda deactivate
cdoc=cd C:\Users\arnal\Documents\GitHub\doutorado\
ci=conda install
cic=conda install -c conda-forge
cl=conda list
# MacOS (~/.bash_profile)
alias ca='conda activate'
alias cde='conda deactivate'
alias cdex='conda deactivate; exit'
alias ci='conda install'
alias cic='conda install -c conda-forge'
alias cl='conda list'
alias jn='jupyter notebook'
alias glo='git log --oneline'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment