diff --git a/.bashrc b/.bashrc index 9e0ff28..38031c0 100644 --- a/.bashrc +++ b/.bashrc @@ -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 <<< + diff --git a/.gitconfig b/.gitconfig index ebd02b2..a44d5d2 100644 --- a/.gitconfig +++ b/.gitconfig @@ -18,3 +18,5 @@ [core] editor = vim autocrlf = input +[init] + defaultBranch = main diff --git a/.vimrc b/.vimrc index 10d2b99..a323e59 100644 --- a/.vimrc +++ b/.vimrc @@ -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=+++ diff --git a/.zshrc b/.zshrc index 78d2c06..206fadf 100644 --- a/.zshrc +++ b/.zshrc @@ -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 <<< + +