Skip to content

Commit

Permalink
fix(zsh/vim): [cr_id_skip] conda env / ansi color formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
xingchensong committed Dec 14, 2022
1 parent 8530d5f commit f197b2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vim/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ Plug 'https://github.com/puremourning/vimspector'
Plug 'https://github.com/itchyny/vim-gitbranch'
Plug 'https://github.com/mhinz/vim-startify'

" Color formatter with ANSI escape sequences like \033[31m
" Usage: vim -R +AnsiEsc file
Plug 'https://github.com/vim-scripts/AnsiEsc.vim'

" All of your Plugins must be added before the following line
call plug#end() " required

Expand Down
2 changes: 2 additions & 0 deletions zsh/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,8 @@ fi
if [[ $(hostname -f) == *.hogpu.cc ]]; then
export PATH=$PATH:$HOME/tools/go/bin
source ~/proxy.sh
# https://github.com/conda/conda/issues/9392#issuecomment-617345019
unset CONDA_SHLVL
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/users/xingchen.song/tools/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
Expand Down

0 comments on commit f197b2f

Please sign in to comment.