organize .zshrc a bit
This commit is contained in:
parent
be4165e577
commit
554e0428be
19
.zshrc
19
.zshrc
|
|
@ -1,3 +1,9 @@
|
|||
# config
|
||||
###########################################################################
|
||||
|
||||
export LSCOLORS=ExGxBxDxCxEgEdxbxgxcxd
|
||||
export EDITOR="emacs-nw" # add to /usr/local/bin from git.manseau.dev/ryan/scripts
|
||||
|
||||
alias ls='ls -GFh'
|
||||
alias grep='grep --color=auto'
|
||||
alias l='ls -1'
|
||||
|
|
@ -6,10 +12,13 @@ alias d='emacs -nw'
|
|||
alias cdc='cd ~/cut'
|
||||
alias tb="nc termbin.com 9999"
|
||||
|
||||
export LSCOLORS=ExGxBxDxCxEgEdxbxgxcxd
|
||||
# setup scripts
|
||||
###########################################################################
|
||||
|
||||
export EDITOR="${HOME}/cut/scripts/emacs-nw"
|
||||
# homebrew
|
||||
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||
|
||||
# zsh completion
|
||||
if type brew &>/dev/null; then
|
||||
FPATH=$(brew --prefix)/share/zsh-completions:$FPATH
|
||||
|
||||
|
|
@ -17,9 +26,10 @@ if type brew &>/dev/null; then
|
|||
compinit
|
||||
fi
|
||||
|
||||
# direnv
|
||||
eval "$(direnv hook zsh)"
|
||||
|
||||
# >>> conda initialize >>>
|
||||
# conda
|
||||
# !! Contents within this block are managed by 'conda init' !!
|
||||
__conda_setup="$('/usr/local/Caskroom/miniconda/base/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
||||
if [ $? -eq 0 ]; then
|
||||
|
|
@ -32,7 +42,6 @@ else
|
|||
fi
|
||||
fi
|
||||
unset __conda_setup
|
||||
# <<< conda initialize <<<
|
||||
|
||||
# opam configuration
|
||||
# ocaml opam
|
||||
[[ ! -r /Users/ryan/.opam/opam-init/init.zsh ]] || source /Users/ryan/.opam/opam-init/init.zsh > /dev/null 2> /dev/null
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user