From 0899054aef13d98173feffb85c752869160f4053 Mon Sep 17 00:00:00 2001 From: Johannes Knopp Date: Wed, 26 Mar 2025 16:43:51 +0100 Subject: [PATCH] update zshrc and ideavimrc --- .ideavimrc | 9 +++++++++ install.sh | 9 ++++++++- zsh/.zshrc | 3 +++ zsh/dev_env.zsh | 2 +- 4 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 .ideavimrc diff --git a/.ideavimrc b/.ideavimrc new file mode 100644 index 0000000..fdf98c7 --- /dev/null +++ b/.ideavimrc @@ -0,0 +1,9 @@ +Plug 'tpope/vim-surround' + +set commentary + +set visualbell +set ignorecase +set smartcase +set incsearch +set hlsearch \ No newline at end of file diff --git a/install.sh b/install.sh index 3e11e57..6c1eda7 100755 --- a/install.sh +++ b/install.sh @@ -35,6 +35,13 @@ ZSH_CUSTOM=${ZSH_CUSTOM:-~/.oh-my-zsh/custom} # Install zsh-syntax-highlighting if [ ! -d "${ZSH_CUSTOM}/plugins/zsh-syntax-highlighting" ]; then - git clone https://github.com/zsh-users/zsh-syntax-highlighting.git \ + git clone --depth 1 https://github.com/zsh-users/zsh-syntax-highlighting.git \ ${ZSH_CUSTOM}/plugins/zsh-syntax-highlighting fi + + +# Install zsh-syntax-highlighting +if [ ! -d "${ZSH_CUSTOM}/plugins/fzf-zsh-plugin" ]; then + git clone --depth 1 https://github.com/unixorn/fzf-zsh-plugin.git \ + ${ZSH_CUSTOM}/plugins/fzf-zsh-plugin +fi diff --git a/zsh/.zshrc b/zsh/.zshrc index c732c71..4e9a2b8 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -74,6 +74,7 @@ plugins=( git zsh-syntax-highlighting zsh-autosuggestions + fzf-zsh-plugin ) source $ZSH/oh-my-zsh.sh @@ -119,3 +120,5 @@ source ~/dotfiles/zsh/tools.zsh export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion + +. "$HOME/.local/bin/env" diff --git a/zsh/dev_env.zsh b/zsh/dev_env.zsh index 126be6d..8228131 100644 --- a/zsh/dev_env.zsh +++ b/zsh/dev_env.zsh @@ -1,4 +1,4 @@ -export DJANGO_SETTINGS_MODULE=config.settings.dev +# export DJANGO_SETTINGS_MODULE=config.settings.dev export DATABASE_HOST=127.0.0.1 export DATABASE_NAME=cerenim export DATABASE_USER=brainhero