Remove OMZ
This commit is contained in:
parent
c46c9f14ff
commit
e15431de37
@ -1 +0,0 @@
|
|||||||
Subproject commit b0204f78394d84771436a7717aafee6cad140319
|
|
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,3 +0,0 @@
|
|||||||
[submodule ".config/ohmyzsh"]
|
|
||||||
path = .config/ohmyzsh
|
|
||||||
url = https://github.com/ohmyzsh/ohmyzsh.git
|
|
29
.zshrc
29
.zshrc
@ -7,28 +7,23 @@ if [[ $(uname) == "Darwin" ]]; then
|
|||||||
|
|
||||||
export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH:${HOME}/.local/bin:/usr/local/sbin:${HOME}/.local/share/gem/ruby/2.0.0/bin:/usr/local/bin"
|
export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH:${HOME}/.local/bin:/usr/local/sbin:${HOME}/.local/share/gem/ruby/2.0.0/bin:/usr/local/bin"
|
||||||
export ANDROID_SDK_ROOT=/Users/$USER/Library/Android/sdk
|
export ANDROID_SDK_ROOT=/Users/$USER/Library/Android/sdk
|
||||||
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
||||||
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
|
||||||
alias date=gdate;
|
alias date=gdate;
|
||||||
eval "$(rbenv init - zsh)"
|
eval "$(rbenv init - zsh)"
|
||||||
|
|
||||||
|
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
|
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||||
|
source $(brew --prefix)/opt/gitstatus/gitstatus.prompt.zsh
|
||||||
else
|
else
|
||||||
export PATH="${PATH}:${HOME}/.local/bin:/usr/local/sbin:${HOME}/.local/share/gem/ruby/2.0.0/bin:/usr/local/bin"
|
export PATH="${PATH}:${HOME}/.local/bin:/usr/local/sbin:${HOME}/.local/share/gem/ruby/2.0.0/bin:/usr/local/bin"
|
||||||
|
|
||||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh
|
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh
|
||||||
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||||
source /usr/lib/zsh-git-prompt/zshrc.sh
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export CONFIGDIR="${HOME}/.config"
|
export CONFIGDIR="${HOME}/.config"
|
||||||
export XDG_CONFIG_HOME=$CONFIGDIR
|
export XDG_CONFIG_HOME=$CONFIGDIR
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
|
|
||||||
# oh-my-zsh
|
|
||||||
export ZSH_DIR="$CONFIGDIR/ohmyzsh"
|
|
||||||
export ZSH_CUSTOM="$ZSH_DIR/custom"
|
|
||||||
export ZSH="$CONFIGDIR/ohmyzsh"
|
|
||||||
plugins=(git-prompt git)
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
|
||||||
|
|
||||||
# Use NVIM
|
# Use NVIM
|
||||||
alias vim=nvim
|
alias vim=nvim
|
||||||
|
|
||||||
@ -42,18 +37,13 @@ ZSH_AUTOSUGGEST_USE_ASYNC=true
|
|||||||
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
||||||
|
|
||||||
# Prompt
|
# Prompt
|
||||||
function precmd {
|
precmd() {
|
||||||
PROMPT="[%c] "
|
PROMPT="[%c] "
|
||||||
RPROMPT="$(git_super_status)"
|
RPROMPT="$GITSTATUS_PROMPT"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Added by serverless binary installer
|
# Added by serverless binary installer
|
||||||
export PATH="$HOME/.serverless/bin:$PATH"
|
export PATH="$HOME/.serverless/bin:$PATH"
|
||||||
|
|
||||||
# tabtab source for packages
|
|
||||||
# uninstall by removing these lines
|
|
||||||
[[ -f ~/.config/tabtab/__tabtab.zsh ]] && . ~/.config/tabtab/__tabtab.zsh || true
|
|
||||||
|
|
||||||
# Nodejs
|
# Nodejs
|
||||||
export SKIP_PREFLIGHT_CHECK=true
|
export SKIP_PREFLIGHT_CHECK=true
|
||||||
|
|
||||||
@ -61,8 +51,9 @@ export SKIP_PREFLIGHT_CHECK=true
|
|||||||
export FZF_DEFAULT_COMMAND='find . -type d \( -name Pods -o -name .yarn -o -name node_modules -o -name .git -o -path name \) -prune -false -o -name "*"'
|
export FZF_DEFAULT_COMMAND='find . -type d \( -name Pods -o -name .yarn -o -name node_modules -o -name .git -o -path name \) -prune -false -o -name "*"'
|
||||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||||
|
|
||||||
source ~/.config/scripts/scripts.sh
|
|
||||||
|
|
||||||
# thefuck
|
# thefuck
|
||||||
eval $(thefuck --alias)
|
eval $(thefuck --alias)
|
||||||
alias a=fuck
|
alias a=fuck
|
||||||
|
|
||||||
|
# Load extra functions
|
||||||
|
source ~/.config/scripts/scripts.sh
|
||||||
|
11
README.md
Normal file
11
README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# \*nix config
|
||||||
|
|
||||||
|
Dot-files and scripts to be synced between my home system and work system
|
||||||
|
|
||||||
|
## ZSH Plugins
|
||||||
|
|
||||||
|
The following packages need to be installed with the system package manager:
|
||||||
|
|
||||||
|
- [zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting)
|
||||||
|
- [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions)
|
||||||
|
- [gitstatus-prompt](https://github.com/romkatv/gitstatus)
|
Loading…
Reference in New Issue
Block a user