zsh: remove unneeded customizations
This commit is contained in:
parent
0b5c971767
commit
28b87e7706
1 changed files with 2 additions and 20 deletions
22
shell/zshrc
22
shell/zshrc
|
@ -38,42 +38,24 @@ alias la='ls -la'
|
||||||
alias :q='exit'
|
alias :q='exit'
|
||||||
alias fresh="source ~/.zshrc"
|
alias fresh="source ~/.zshrc"
|
||||||
|
|
||||||
# ZSH Theme
|
|
||||||
ZSH_THEME=""
|
|
||||||
|
|
||||||
PROMPT_COLOR="cyan"
|
|
||||||
|
|
||||||
# localcommands
|
# localcommands
|
||||||
if [ -f ~/.dotfiles/shell/localcommands ]
|
if [ -f ~/.dotfiles/shell/localcommands ]
|
||||||
then
|
then
|
||||||
source ~/.dotfiles/shell/localcommands
|
source ~/.dotfiles/shell/localcommands
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PROMPT="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
|
|
||||||
PROMPT+=' %{$fg[${PROMPT_COLOR}]%}%c%{$reset_color%} $(git_prompt_info)'
|
|
||||||
|
|
||||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}"
|
|
||||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
|
|
||||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗"
|
|
||||||
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
|
|
||||||
|
|
||||||
# Tmuxinator autocomplete
|
# Tmuxinator autocomplete
|
||||||
if [ -f ~/.bin/tmuxinator.zsh ]; then
|
if [ -f ~/.bin/tmuxinator.zsh ]; then
|
||||||
source ~/.bin/tmuxinator.zsh
|
source ~/.bin/tmuxinator.zsh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# fzf + ag configuration
|
# Set vim as default editor
|
||||||
if _has fzf && _has ag; then
|
export EDITOR='nvim'
|
||||||
export FZF_CTRL_T_COMMAND='ag --hidden --nocolor --ignore .git -g ""'
|
|
||||||
fi
|
|
||||||
|
|
||||||
export FZF_ALT_C_COMMAND='find . -type d'
|
|
||||||
|
|
||||||
if _has ruby;
|
if _has ruby;
|
||||||
then
|
then
|
||||||
export PATH="$PATH:$(ruby -e 'print Gem.user_dir')/bin"
|
export PATH="$PATH:$(ruby -e 'print Gem.user_dir')/bin"
|
||||||
fi
|
fi
|
||||||
if [ -e /home/saibotk/.nix-profile/etc/profile.d/nix.sh ]; then . /home/saibotk/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
|
|
||||||
|
|
||||||
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
|
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
|
||||||
[[ -s "$SDKMAN_DIR/bin/sdkman-init.sh" ]] && source "$SDKMAN_DIR/bin/sdkman-init.sh"
|
[[ -s "$SDKMAN_DIR/bin/sdkman-init.sh" ]] && source "$SDKMAN_DIR/bin/sdkman-init.sh"
|
||||||
|
|
Loading…
Add table
Reference in a new issue