fix directory structure
This commit is contained in:
parent
b0532b9040
commit
60cb0f2f21
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -1,3 +1,3 @@
|
|||||||
[submodule ".zsh/pure"]
|
[submodule "pure"]
|
||||||
path = .zsh/pure
|
path = pure
|
||||||
url = https://github.com/sindresorhus/pure.git
|
url = https://github.com/sindresorhus/pure.git
|
||||||
|
10
.zshrc
10
.zshrc
@ -5,8 +5,8 @@
|
|||||||
|
|
||||||
# Initial Setup
|
# Initial Setup
|
||||||
# mkdir -p "$HOME/zsh/.zsh"
|
# mkdir -p "$HOME/zsh/.zsh"
|
||||||
# git submodule add https://github.com/sindresorhus/pure.git "$HOME/zsh/.zsh/pure"
|
# git submodule add https://github.com/sindresorhus/pure.git "$HOME/zsh/pure"
|
||||||
# Setup Alias in $HOME/zsh/.zsh/aliasrc
|
# Setup Alias in $HOME/zsh/aliasrc
|
||||||
|
|
||||||
# Enable colors and change prompt:
|
# Enable colors and change prompt:
|
||||||
autoload -U colors && colors
|
autoload -U colors && colors
|
||||||
@ -14,14 +14,14 @@ PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magent
|
|||||||
|
|
||||||
|
|
||||||
# Pure Prompt
|
# Pure Prompt
|
||||||
fpath+=$HOME/zsh/.zsh/pure
|
fpath+=$HOME/zsh/pure
|
||||||
autoload -U promptinit; promptinit
|
autoload -U promptinit; promptinit
|
||||||
prompt pure
|
prompt pure
|
||||||
|
|
||||||
# History in cache directory:
|
# History in cache directory:
|
||||||
HISTSIZE=10000
|
HISTSIZE=10000
|
||||||
SAVEHIST=10000
|
SAVEHIST=10000
|
||||||
HISTFILE=~/.cache/zsh/history
|
HISTFILE=~/.cache/zshhistory
|
||||||
|
|
||||||
# Basic auto/tab complete:
|
# Basic auto/tab complete:
|
||||||
autoload -U compinit
|
autoload -U compinit
|
||||||
@ -34,7 +34,7 @@ _comp_options+=(globdots) # Include hidden files.
|
|||||||
bindkey '^ ' autosuggest-accept
|
bindkey '^ ' autosuggest-accept
|
||||||
|
|
||||||
# Load aliases and shortcuts if existent.
|
# 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.
|
# Load ; should be last.
|
||||||
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh 2>/dev/null
|
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh 2>/dev/null
|
||||||
|
@ -76,7 +76,6 @@ alias cp='cp -i'
|
|||||||
alias mv='mv -i'
|
alias mv='mv -i'
|
||||||
alias vim='vim'
|
alias vim='vim'
|
||||||
alias vi='vim'
|
alias vi='vim'
|
||||||
alias nano='vim'
|
|
||||||
alias gds-start='sudo systemctl start openvpn-client@gds'
|
alias gds-start='sudo systemctl start openvpn-client@gds'
|
||||||
alias gds-stop='sudo systemctl stop openvpn-client@gds'
|
alias gds-stop='sudo systemctl stop openvpn-client@gds'
|
||||||
|
|
Reference in New Issue
Block a user