2017-06-14 18:19:59 +00:00
|
|
|
# Stop tmux bitching about 256 colours
|
2019-03-29 18:51:29 +00:00
|
|
|
TERM="xterm-256color"
|
2017-06-14 18:19:59 +00:00
|
|
|
|
2016-11-09 13:09:59 +00:00
|
|
|
# Path to your oh-my-zsh installation.
|
2019-03-29 18:51:29 +00:00
|
|
|
ZSH="/home/alrayyes/.oh-my-zsh"
|
2016-11-09 13:09:59 +00:00
|
|
|
|
|
|
|
# Set name of the theme to load. Optionally, if you set this to "random"
|
|
|
|
# it'll load a random theme each time that oh-my-zsh is loaded.
|
|
|
|
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
|
2017-05-14 23:39:03 +00:00
|
|
|
#ZSH_THEME="robbyrussell"
|
|
|
|
ZSH_THEME="powerlevel9k/powerlevel9k"
|
2016-11-09 13:09:59 +00:00
|
|
|
|
|
|
|
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
|
|
|
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
|
|
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
|
|
|
# Add wisely, as too many plugins slow down shell startup.
|
2019-09-30 16:30:46 +00:00
|
|
|
plugins=(aws common-aliases composer docker extract git git-flow gitignore httpie rsync symfony2 systemd tmux vi-mode fzf sudo yarn zsh-syntax-highlighting )
|
2016-11-09 13:09:59 +00:00
|
|
|
|
|
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
|
2019-03-29 18:51:29 +00:00
|
|
|
# nvim alias
|
|
|
|
alias vim="nvim"
|
2019-09-30 16:30:46 +00:00
|
|
|
alias vi="nvim"
|
2019-03-29 18:51:29 +00:00
|
|
|
|
|
|
|
# ls alias
|
|
|
|
alias ls="lsd"
|
|
|
|
alias l="lsd -al"
|
|
|
|
|
|
|
|
# vifm alias
|
|
|
|
alias vifm="vifmrun"
|
|
|
|
|
2019-09-30 16:30:46 +00:00
|
|
|
# Add yarn path
|
2019-03-29 18:51:29 +00:00
|
|
|
export PATH="$PATH:/home/alrayyes/.config/yarn/global/node_modules/.bin:/home/alrayyes/.scripts"
|
2017-02-14 16:04:27 +00:00
|
|
|
|
2016-12-30 20:07:59 +00:00
|
|
|
# Set GPG TTY
|
2019-03-29 18:51:29 +00:00
|
|
|
export GPG_TTY="$(tty)"
|
2016-12-30 20:07:59 +00:00
|
|
|
|
2017-05-10 19:34:40 +00:00
|
|
|
# Set default browser
|
2019-03-29 18:51:29 +00:00
|
|
|
export BROWSER="firefox"
|
|
|
|
|
|
|
|
# Set default terminal
|
|
|
|
export TERMINAL="st"
|
|
|
|
|
|
|
|
# pkg editor
|
|
|
|
export VISUAL="vim"
|
|
|
|
|
|
|
|
# Enable password store extensions
|
|
|
|
export PASSWORD_STORE_ENABLE_EXTENSIONS="true"
|
2017-05-10 19:34:40 +00:00
|
|
|
|
2016-12-30 20:07:59 +00:00
|
|
|
# Refresh gpg-agent tty in case user switches into an X session
|
|
|
|
gpg-connect-agent updatestartuptty /bye >/dev/null
|
|
|
|
|
2016-12-29 13:17:16 +00:00
|
|
|
neofetch
|