2020-04-27 15:14:37 +02:00
|
|
|
# Path to your oh-my-zsh installation.
|
|
|
|
export ZSH="/home/drew/.oh-my-zsh"
|
|
|
|
|
2020-05-18 11:06:15 +02:00
|
|
|
# Set name of the theme to load
|
2020-04-27 15:14:37 +02:00
|
|
|
ZSH_THEME="agnoster"
|
|
|
|
|
|
|
|
# Uncomment the following line to use case-sensitive completion.
|
2020-05-18 11:06:15 +02:00
|
|
|
CASE_SENSITIVE="true"
|
2020-04-27 15:14:37 +02:00
|
|
|
|
|
|
|
# Uncomment the following line to use hyphen-insensitive completion.
|
|
|
|
# Case-sensitive completion must be off. _ and - will be interchangeable.
|
|
|
|
# HYPHEN_INSENSITIVE="true"
|
|
|
|
|
|
|
|
# Uncomment the following line to disable bi-weekly auto-update checks.
|
|
|
|
# DISABLE_AUTO_UPDATE="true"
|
|
|
|
|
|
|
|
# Uncomment the following line to automatically update without prompting.
|
2020-05-18 11:06:15 +02:00
|
|
|
DISABLE_UPDATE_PROMPT="true"
|
2020-04-27 15:14:37 +02:00
|
|
|
|
|
|
|
# Uncomment the following line to change how often to auto-update (in days).
|
2020-05-18 11:06:15 +02:00
|
|
|
export UPDATE_ZSH_DAYS=14
|
2020-04-27 15:14:37 +02:00
|
|
|
|
|
|
|
# Uncomment the following line if pasting URLs and other text is messed up.
|
|
|
|
# DISABLE_MAGIC_FUNCTIONS=true
|
|
|
|
|
|
|
|
# Uncomment the following line to disable colors in ls.
|
|
|
|
# DISABLE_LS_COLORS="true"
|
|
|
|
|
|
|
|
# Uncomment the following line to disable auto-setting terminal title.
|
|
|
|
# DISABLE_AUTO_TITLE="true"
|
|
|
|
|
|
|
|
# Uncomment the following line to display red dots whilst waiting for completion.
|
2020-05-18 11:06:15 +02:00
|
|
|
COMPLETION_WAITING_DOTS="true"
|
2020-04-27 15:14:37 +02:00
|
|
|
|
|
|
|
# Uncomment the following line if you want to disable marking untracked files
|
|
|
|
# under VCS as dirty. This makes repository status check for large repositories
|
|
|
|
# much, much faster.
|
|
|
|
# DISABLE_UNTRACKED_FILES_DIRTY="true"
|
|
|
|
|
|
|
|
# Uncomment the following line if you want to change the command execution time
|
|
|
|
# stamp shown in the history command output.
|
|
|
|
# You can set one of the optional three formats:
|
|
|
|
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
|
|
|
# or set a custom format using the strftime function format specifications,
|
|
|
|
# see 'man strftime' for details.
|
|
|
|
# HIST_STAMPS="mm/dd/yyyy"
|
|
|
|
|
2020-09-07 17:41:54 +02:00
|
|
|
# ssh auth stuffs
|
|
|
|
if [ ! -S ~/.ssh/ssh_auth_sock ]; then
|
|
|
|
eval `ssh-agent` > /dev/null
|
|
|
|
ln -sf "$SSH_AUTH_SOCK" ~/.ssh/ssh_auth_sock
|
|
|
|
fi
|
|
|
|
export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock
|
|
|
|
ssh-add -l > /dev/null || ssh-add > /dev/null
|
|
|
|
|
|
|
|
if [ -n "$DESKTOP_SESSION" ];then
|
|
|
|
eval $(gnome-keyring-daemon --start --components=ssh)
|
|
|
|
export SSH_AUTH_SOCK
|
|
|
|
fi
|
|
|
|
|
2020-04-27 15:14:37 +02:00
|
|
|
# Would you like to use another custom folder than $ZSH/custom?
|
2020-05-18 11:06:15 +02:00
|
|
|
ZSH_CUSTOM=~/.config/zsh
|
2020-04-27 15:14:37 +02:00
|
|
|
|
|
|
|
# Which plugins would you like to load?
|
|
|
|
# Standard 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.
|
|
|
|
plugins=(
|
|
|
|
archlinux
|
|
|
|
git
|
|
|
|
history-substring-search
|
|
|
|
colored-man-pages
|
|
|
|
zsh-autosuggestions
|
|
|
|
zsh-syntax-highlighting
|
|
|
|
)
|
|
|
|
|
|
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
|
|
|
|
# User configuration
|
|
|
|
|
2020-05-18 11:06:15 +02:00
|
|
|
export LANG=en_US.UTF-8
|
2020-09-07 17:41:54 +02:00
|
|
|
export MOZ_ENABLE_WAYLAND=1
|
2020-04-27 15:14:37 +02:00
|
|
|
|
|
|
|
# Compilation flags
|
|
|
|
# export ARCHFLAGS="-arch x86_64"
|
|
|
|
|
|
|
|
# Lines configured by zsh-newuser-install
|
|
|
|
HISTFILE=~/.histfile
|
2020-05-18 11:06:15 +02:00
|
|
|
HISTSIZE=10000
|
|
|
|
SAVEHIST=10000
|
2020-04-27 15:14:37 +02:00
|
|
|
setopt appendhistory autocd extendedglob
|
|
|
|
unsetopt beep
|
|
|
|
# End of lines configured by zsh-newuser-install
|
2020-05-18 11:06:15 +02:00
|
|
|
|
2020-04-27 15:14:37 +02:00
|
|
|
# The following lines were added by compinstall
|
|
|
|
zstyle :compinstall filename '/home/drew/.zshrc'
|
|
|
|
autoload -Uz compinit
|
|
|
|
compinit
|
|
|
|
prompt_context(){}
|
2020-05-18 11:06:15 +02:00
|
|
|
|
|
|
|
autoload -Uz up-line-or-beginning-search
|
|
|
|
autoload -Uz down-line-or-beginning-search
|
|
|
|
zle -N up-line-or-beginning-search
|
|
|
|
zle -N down-line-or-beginning-search
|