-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
49 lines (40 loc) · 1.62 KB
/
zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#
# Executes commands at the start of an interactive session.
#
# Authors:
# Sorin Ionescu <[email protected]>
#
# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi
# Customize to your needs...
alias gla='git log --pretty=oneline --abbrev-commit'
alias vim='nvim'
alias cat='bat'
ulimit -n 2048
alias dockerclean='docker rmi $(docker images -f "dangling=true" -q); docker volume rm $(docker volume ls -qf dangling=true)'
alias ls='ls --color=auto'
#alias ls='ls -G'
# make it so cd ..<TAB> completes to cd ../ like it should
zstyle ':completion:*' special-dirs true
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/home/cameron/Downloads/google-cloud-sdk/path.zsh.inc' ]; then . '/home/cameron/Downloads/google-cloud-sdk/path.zsh.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/home/cameron/Downloads/google-cloud-sdk/completion.zsh.inc' ]; then . '/home/cameron/Downloads/google-cloud-sdk/completion.zsh.inc'; fi
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/cameron/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/cameron/miniconda3/etc/profile.d/conda.sh" ]; then
. "/home/cameron/miniconda3/etc/profile.d/conda.sh"
else
export PATH="/home/cameron/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<