From ca3c4401b18ede83118b9937af3e4298fb9e3252 Mon Sep 17 00:00:00 2001 From: Riley Smith Date: Sat, 17 Dec 2022 22:07:56 -0800 Subject: [PATCH] pt.2 of moving nvim to submodules --- .gitmodules | 3 +++ README.md | 5 +++++ dot_config/nvim | 1 + dot_zshenv_linux | 13 ++++++++----- dot_zshrc_linux | 9 +++++++++ 5 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 .gitmodules create mode 160000 dot_config/nvim diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..69bb410 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "dot_config/nvim"] + path = dot_config/nvim + url = https://github.com/AstroNvim/AstroNvim diff --git a/README.md b/README.md index e76e24b..67d1462 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # dotfiles collection of my personal dotfiles + +TODO: +- restyle all old ui elements using the new obsidian color palette +- style mako, rofi using obsidian +- style astronvim to use obsidian diff --git a/dot_config/nvim b/dot_config/nvim new file mode 160000 index 0000000..1762658 --- /dev/null +++ b/dot_config/nvim @@ -0,0 +1 @@ +Subproject commit 176265812355a53559497c0f0ada7ab62a2d1ba8 diff --git a/dot_zshenv_linux b/dot_zshenv_linux index afd1d88..0488f25 100644 --- a/dot_zshenv_linux +++ b/dot_zshenv_linux @@ -1,10 +1,13 @@ -if [ -n "$DESKTOP_SESSION" ];then - eval $(gnome-keyring-daemon --start) - export SSH_AUTH_SOCK -fi +#if [ -n "$DESKTOP_SESSION" ];then +# eval $(gnome-keyring-daemon --start) +# export SSH_AUTH_SOCK +#fi + +export HISTFILE=~/.zsh_history +export HISTSIZE=50000 . "$HOME/.cargo/env" export VOLTA_HOME="$HOME/.volta" -export PATH="$HOME/Local Repos/depot_tools:$VOLTA_HOME/bin:/home/pixel/.spicetify:$PATH" +export PATH="$VOLTA_HOME/bin:/home/pixel/.spicetify:$PATH" export CHROME_EXECUTABLE=/usr/bin/chromium export SHELL=/bin/zsh diff --git a/dot_zshrc_linux b/dot_zshrc_linux index 0a64bb6..2948696 100644 --- a/dot_zshrc_linux +++ b/dot_zshrc_linux @@ -35,6 +35,15 @@ alias vi="nvim" #fi export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/gcr/ssh +# history +export HISTFILE=~/.zsh_history +export HISTSIZE=1000000 # the number of items for the internal history list +export SAVEHIST=1000000 # maximum number of items for the history file +setopt HIST_IGNORE_ALL_DUPS # do not put duplicated command into history list +setopt HIST_SAVE_NO_DUPS # do not save duplicated command +setopt HIST_REDUCE_BLANKS # remove unnecessary blanks +setopt INC_APPEND_HISTORY_TIME # append command to history file immediately after execution + # zoxide eval "$(zoxide init zsh --cmd cd)"