This commit is contained in:
Andrei Stoica 2023-02-15 14:59:01 -05:00
parent 4fa96ba7ce
commit f86ace80a2
4 changed files with 47 additions and 3 deletions

16
.bashrc
View File

@ -140,3 +140,19 @@ TERM=xterm-256color
# editor setup
export VISUAL=vim
export EDITOR="$VISUAL"
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/andrei/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/andrei/miniconda3/etc/profile.d/conda.sh" ]; then
. "/home/andrei/miniconda3/etc/profile.d/conda.sh"
else
export PATH="/home/andrei/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<

View File

@ -18,3 +18,5 @@
[core]
editor = vim
autocrlf = input
[init]
defaultBranch = main

7
.vimrc
View File

@ -23,8 +23,8 @@ call vundle#begin()
Plugin 'airblade/vim-gitgutter'
Plugin 'suan/vim-instant-markdown'
Plugin 'xuhdev/vim-latex-live-preview'
"Plugin 'suan/vim-instant-markdown'
"Plugin 'xuhdev/vim-latex-live-preview'
Plugin 'kien/rainbow_parentheses.vim'
@ -44,6 +44,9 @@ filetype plugin on
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line
set nobackup
set nowritebackup
set noswapfile
set number
set linebreak
set showbreak=+++

25
.zshrc
View File

@ -1,5 +1,5 @@
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
export PATH=$HOME/bin:/usr/local/bin:/usr/lib64/openjdk-17/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/home/andrei/.oh-my-zsh
@ -93,3 +93,26 @@ source $ZSH/oh-my-zsh.sh
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
source $HOME/.aliases
autoload -z edit-command-line
zle -N edit-command-line
bindkey "^v" edit-command-line
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/andrei/miniconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/andrei/miniconda3/etc/profile.d/conda.sh" ]; then
. "/home/andrei/miniconda3/etc/profile.d/conda.sh"
else
export PATH="/home/andrei/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<