Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Commit

Permalink
fix directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisTitusTech committed Jun 1, 2020
1 parent b0532b9 commit 60cb0f2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule ".zsh/pure"]
path = .zsh/pure
[submodule "pure"]
path = pure
url = https://github.com/sindresorhus/pure.git
10 changes: 5 additions & 5 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@

# 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
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b "


# 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
Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion .zsh/aliasrc → aliasrc
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Submodule pure updated from 000000 to c42bd3

0 comments on commit 60cb0f2

Please sign in to comment.