alacritty
This commit is contained in:
30
.zshrc
30
.zshrc
@ -30,6 +30,7 @@ export PATH=$PATH:$HOME/.captain/bin
|
||||
|
||||
#Home bin (last always!)
|
||||
export PATH="/home/paramah/go/bin:$PATH"
|
||||
export PATH="/var/lib/snapd/snap/bin:$PATH"
|
||||
export PATH="/home/paramah/bin:$PATH"
|
||||
|
||||
#symfony
|
||||
@ -38,7 +39,9 @@ export PATH="$HOME/.symfony/bin:$PATH"
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH=$HOME/.oh-my-zsh
|
||||
ZSH_THEME="powerlevel9k/powerlevel9k"
|
||||
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status background_jobs_joined virtualenv nodeenv)
|
||||
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status background_jobs_joined virtualenv nodeenv terraform)
|
||||
|
||||
PROMPT=$'%{$fg[white]%}$(tf_prompt_info)%{$reset_color%} '
|
||||
|
||||
export CHROME_BIN=/usr/bin/chromium
|
||||
|
||||
@ -55,6 +58,7 @@ plugins=(
|
||||
fzf
|
||||
git-flow-completion
|
||||
go
|
||||
terraform
|
||||
)
|
||||
|
||||
|
||||
@ -63,7 +67,8 @@ source ~/.zplug/init.zsh
|
||||
|
||||
zplug 'ytet5uy4/fzf-widgets'
|
||||
zplug 'zsh-users/zaw'
|
||||
#zplug 'voronkovich/project.plugin.zsh'
|
||||
zplug "pbar1/zsh-terraform"
|
||||
zplug 'voronkovich/project.plugin.zsh'
|
||||
|
||||
|
||||
# Map widgets to key
|
||||
@ -197,6 +202,25 @@ theme () {
|
||||
(feh --bg-scale $WALLPAPER)
|
||||
}
|
||||
|
||||
alias tf=terraform
|
||||
alias tfw="terraform workspace"
|
||||
|
||||
tfv(){
|
||||
terraform validate -var-file=vars/$(terraform workspace show).tfvars
|
||||
}
|
||||
|
||||
tfp(){
|
||||
terraform plan -var-file=vars/$(terraform workspace show).tfvars
|
||||
}
|
||||
|
||||
tfa(){
|
||||
terraform apply -var-file=vars/$(terraform workspace show).tfvars
|
||||
}
|
||||
|
||||
tfc(){
|
||||
terraform console -var-file=vars/$(terraform workspace show).tfvars
|
||||
}
|
||||
|
||||
autoload -U +X bashcompinit && bashcompinit
|
||||
complete -o nospace -C /usr/bin/vault vault
|
||||
|
||||
@ -212,3 +236,5 @@ xset b off
|
||||
source <(hcloud completion zsh)
|
||||
#eval "$(starship init zsh)"
|
||||
#neofetch
|
||||
#
|
||||
eval "$(_JZ_COMPLETE=source_zsh jz)"
|
||||
|
Reference in New Issue
Block a user