Skip to content

Commit

Permalink
[ZSHRC] update
Browse files Browse the repository at this point in the history
  • Loading branch information
mpanarin committed Aug 26, 2021
1 parent 55e3ac1 commit 9341b4c
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .zshrc
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
# Path to oh-my-zsh installation.
export ZSH=~/.oh-my-zsh


# Name of the theme to load.
ZSH_THEME="spaceship"

# Display red dots whilst waiting for completion.
COMPLETION_WAITING_DOTS="true"

plugins=(git python docker extract lol mix pip elixir asdf)

# if not Emacs - use vi-mode and start tmux
if [[ -z $INSIDE_EMACS ]]; then
# TMUX startup
export PATH="$PATH:/home/$USER/.gem/ruby/2.7.0/bin"
ZSH_TMUX_AUTOSTART=false
eval $(python3 ~/tmux_get_startup_command)
powerline-config tmux setup
plugins=(git python docker extract lol mix pip elixir asdf zsh-autosuggestions zsh-vi-mode zsh-syntax-highlighting)
plugins+=(zsh-autosuggestions zsh-vi-mode zsh-syntax-highlighting)
else
plugins=(git python docker extract lol mix pip elixir asdf zsh-syntax-highlighting)
plugins+=(zsh-syntax-highlighting)
vterm_printf(){
if [ -n "$TMUX" ]; then
# Tell tmux to pass the escape sequences through
Expand Down Expand Up @@ -81,9 +84,8 @@ bindkey '\e ' autosuggest-accept
# export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python
# source /usr/bin/virtualenvwrapper.sh

# Enable fzf
export FZF_TMUX=1
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# ripgrep configurations
RIPGREP_CONFIG_PATH="$HOME/.ripgreprc"

# asdf-vm configs
# . $HOME/.asdf/asdf.sh
Expand Down Expand Up @@ -156,6 +158,10 @@ function zvm_after_init() {
zvm_bindkey viins '\e ' autosuggest-accept
}

# Enable fzf
export FZF_TMUX=1
zvm_after_init_commands+=('[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh')

alias tkill='tmux kill-session -t'

alias xa='exa -lh --git'
Expand Down

0 comments on commit 9341b4c

Please sign in to comment.