pt.2 of moving nvim to submodules

This commit is contained in:
vel 2022-12-17 22:07:56 -08:00
parent ddb60a4765
commit ca3c4401b1
5 changed files with 26 additions and 5 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "dot_config/nvim"]
path = dot_config/nvim
url = https://github.com/AstroNvim/AstroNvim

View File

@ -1,2 +1,7 @@
# dotfiles # dotfiles
collection of my personal 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

1
dot_config/nvim Submodule

@ -0,0 +1 @@
Subproject commit 176265812355a53559497c0f0ada7ab62a2d1ba8

View File

@ -1,10 +1,13 @@
if [ -n "$DESKTOP_SESSION" ];then #if [ -n "$DESKTOP_SESSION" ];then
eval $(gnome-keyring-daemon --start) # eval $(gnome-keyring-daemon --start)
export SSH_AUTH_SOCK # export SSH_AUTH_SOCK
fi #fi
export HISTFILE=~/.zsh_history
export HISTSIZE=50000
. "$HOME/.cargo/env" . "$HOME/.cargo/env"
export VOLTA_HOME="$HOME/.volta" 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 CHROME_EXECUTABLE=/usr/bin/chromium
export SHELL=/bin/zsh export SHELL=/bin/zsh

View File

@ -35,6 +35,15 @@ alias vi="nvim"
#fi #fi
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/gcr/ssh 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 # zoxide
eval "$(zoxide init zsh --cmd cd)" eval "$(zoxide init zsh --cmd cd)"