From 60cb0f2f2123bf12f493549da2bac344e8be349f Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Mon, 1 Jun 2020 11:30:25 -0500 Subject: [PATCH] fix directory structure --- .gitmodules | 4 ++-- .zshrc | 10 +++++----- .zsh/aliasrc => aliasrc | 1 - .zsh/pure => pure | 0 4 files changed, 7 insertions(+), 8 deletions(-) rename .zsh/aliasrc => aliasrc (99%) rename .zsh/pure => pure (100%) diff --git a/.gitmodules b/.gitmodules index 8fa3824..77971d9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[submodule ".zsh/pure"] - path = .zsh/pure +[submodule "pure"] + path = pure url = https://github.com/sindresorhus/pure.git diff --git a/.zshrc b/.zshrc index a687cd5..ba6d6d5 100644 --- a/.zshrc +++ b/.zshrc @@ -5,8 +5,8 @@ # Initial Setup # mkdir -p "$HOME/zsh/.zsh" -# git submodule add https://github.com/sindresorhus/pure.git "$HOME/zsh/.zsh/pure" -# Setup Alias in $HOME/zsh/.zsh/aliasrc +# git submodule add https://github.com/sindresorhus/pure.git "$HOME/zsh/pure" +# Setup Alias in $HOME/zsh/aliasrc # Enable colors and change prompt: autoload -U colors && colors @@ -14,14 +14,14 @@ PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magent # Pure Prompt -fpath+=$HOME/zsh/.zsh/pure +fpath+=$HOME/zsh/pure autoload -U promptinit; promptinit prompt pure # History in cache directory: HISTSIZE=10000 SAVEHIST=10000 -HISTFILE=~/.cache/zsh/history +HISTFILE=~/.cache/zshhistory # Basic auto/tab complete: autoload -U compinit @@ -34,7 +34,7 @@ _comp_options+=(globdots) # Include hidden files. bindkey '^ ' autosuggest-accept # Load aliases and shortcuts if existent. -[ -f "$HOME/zsh/.zsh/aliasrc" ] && source "$HOME/zsh/.zsh/aliasrc" +[ -f "$HOME/zsh/aliasrc" ] && source "$HOME/zsh/aliasrc" # Load ; should be last. source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh 2>/dev/null diff --git a/.zsh/aliasrc b/aliasrc similarity index 99% rename from .zsh/aliasrc rename to aliasrc index e4dd658..4541705 100644 --- a/.zsh/aliasrc +++ b/aliasrc @@ -76,7 +76,6 @@ alias cp='cp -i' alias mv='mv -i' alias vim='vim' alias vi='vim' -alias nano='vim' alias gds-start='sudo systemctl start openvpn-client@gds' alias gds-stop='sudo systemctl stop openvpn-client@gds' diff --git a/.zsh/pure b/pure similarity index 100% rename from .zsh/pure rename to pure