Created
September 4, 2020 10:19
-
-
Save drorata/8ebefb0e276c29e1932c17cc883187d0 to your computer and use it in GitHub Desktop.
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
# Settings for mac at HF | |
source ~/antigen.zsh | |
antigen use oh-my-zsh | |
antigen bundle git | |
# antigen bundle pip | |
antigen bundle aws | |
antigen bundle docker | |
antigen bundle brew | |
antigen bundle osx | |
antigen bundle command-not-found | |
antigen bundle zsh-users/zsh-syntax-highlighting | |
antigen bundle Cloudstek/zsh-plugin-appup | |
antigen bundle esc/conda-zsh-completion | |
antigen theme denysdovhan/spaceship-prompt | |
# POWERLEVEL9K_INSTALLATION_PATH=$ANTIGEN_BUNDLES/bhilburn/powerlevel9k | |
# antigen theme bhilburn/powerlevel9k powerlevel9k | |
SPACESHIP_DIR_TRUNC=0 | |
SPACESHIP_DIR_TRUNC_REPO="false" | |
SPACESHIP_TIME_SHOW="true" | |
SPACESHIP_EXIT_CODE_SHOW="true" | |
SPACESHIP_DIR_COLOR=black | |
antigen apply | |
# >>> conda initialize >>> | |
# !! Contents within this block are managed by 'conda init' !! | |
__conda_setup="$('/Users/dror.atariah/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" | |
if [ $? -eq 0 ]; then | |
eval "$__conda_setup" | |
else | |
if [ -f "/Users/dror.atariah/anaconda3/etc/profile.d/conda.sh" ]; then | |
. "/Users/dror.atariah/anaconda3/etc/profile.d/conda.sh" | |
else | |
export PATH="/Users/dror.atariah/anaconda3/bin:$PATH" | |
fi | |
fi | |
unset __conda_setup | |
# <<< conda initialize <<< | |
# source ~/Applications/conda-auto-env/conda_auto_env.sh | |
# export JAVA_HOME="$(/usr/libexec/java_home --version 1.8)" | |
export EDITOR='vim' | |
export BROWSER=open | |
# You may need to manually set your language environment | |
export LC_ALL=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
export LANGUAGE=en_US.UTF-8 | |
alias ls="ls -Gppha" | |
alias ll="ls -Gplpha" | |
alias ..="cd .." | |
alias vs="code" | |
alias m='make' | |
alias nb='/Users/dror/anaconda3/bin/jupyter notebook' | |
alias jl='jupyter-lab' | |
alias catc='pygmentize -g' | |
alias diff=colordiff | |
alias cs=clear | |
alias black=/Users/dror/anaconda3/bin/black | |
function docker_kill() { | |
docker kill $(docker ps -a -q) | |
} | |
function docker_remove() { | |
docker rm $(docker ps -a -q) | |
} | |
function docker_iremove_dangling() { | |
docker rmi $(docker images -f dangling=true -q) | |
} | |
function s3zcat() { | |
aws s3 cp $1 - | zcat | |
} | |
function s3cat() { | |
aws s3 cp $1 - | cat | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment