-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc
75 lines (57 loc) · 1.69 KB
/
zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt autocd extendedglob nosharehistory
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/matthew/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
export GIT_PS1_SHOWDIRTYSTATE=1
alias ls='ls --color=auto'
#PS1='[\u@\h \W]\$ '
#PS1='\w$(__git_ps1 " (%s)"\$ '
#PS1='[\u@\h \W]$(__git_ps1 " (%s)")\$ '
PROMPT='[%n@%m %1~]%# '
# Fix for old GTK $ QT applications - https://wiki.archlinux.org/index.php/Font_Configuration
export GDK_USE_XFT=1
export QT_XFT=true
# Editor for yaourt PKGBUILD
export EDITOR=vim
# Set up Keychain
#eval $(keychain --eval --agents ssh -Q --quiet id_rsa)
if [ -n "$DESKTOP_SESSION" ];then
eval $(gnome-keyring-daemon --start)
export SSH_AUTH_SOCK
fi
# Keychain Alias
alias ssh-unlock='eval $(keychain --eval --agents ssh -Q --quiet id_rsa)'
# Enable ssh-agent
#echo 'eval $(ssh-agent)'
# Evaluate dir_colors
if [ -f ~/.dir_colors ]; then
eval `dircolors ~/.dir_colors`
else
eval `dircolors`
fi
# Solarized swap
alias sswap='~/.dotfiles/bin/solarizedswap.sh'
# Export for Systemd User
#dbus-update-activation-environment --systemd --all
dbus-update-activation-environment --systemd
# Flutter path
export PATH=/home/matthew/Development/flutter/bin:$PATH
# Ignore jrnl entries
HISTIGNORE="jrnl *"
# VirtualEnvWrapper
export WORKON_HOME=~/.virtualenvs
source /usr/bin/virtualenvwrapper.sh
# Setup NVM
if [[ -f "/usr/share/nvm/init-nvm.sh" ]]; then
source /usr/share/nvm/init-nvm.sh
fi