Updated to work with Solus

This commit is contained in:
Eric Renfro 2018-06-21 23:56:32 -04:00
parent c7e0314bf7
commit 3a106841ba
Signed by: psi-jack
GPG Key ID: 14977F3A50D9A5BF
6 changed files with 42 additions and 15 deletions

View File

@ -16,3 +16,5 @@
gpgsign = true
[alias]
up = !git pull --prune $@ && git submodule update --init --recursive
[credential]
helper = /usr/lib/git/git-core/git-credential-store

View File

@ -2,6 +2,5 @@ EDITOR=vim
VISUAL=vim
#PATH DEFAULT=${PATH}:/home/@{PAM_USER}/bin
#PATH DEFAULT=${PATH}:@{HOME}/bin
SSH_ASKPASS=/usr/lib/ssh/x11-ssh-askpass
QT_QPA_PLATFORMTHEME=qgnomeplatform
#SSH_ASKPASS=/usr/lib/ssh/x11-ssh-askpass
#QT_QPA_PLATFORMTHEME=qgnomeplatform

View File

@ -1,4 +1,8 @@
if [[ -f /etc/solus-release ]]; then
source /usr/share/defaults/etc/profile
fi
export EDITOR=vim
export PATH=$PATH:$HOME/bin
export QT_QPA_PLATFORMTHEME=qgnomeplatform
#export QT_QPA_PLATFORMTHEME=qgnomeplatform

View File

@ -270,7 +270,7 @@ set -g mode-keys vi
#set -g status-position top
# set shell to zsh
set-option -g default-shell /usr/bin/zsh
set-option -g default-shell /bin/zsh
# set alt+left/right to switch windows
bind -n M-Right next-window

9
zimrc
View File

@ -11,7 +11,7 @@
# Select what modules you would like enabled.
# The second line of modules may depend on options set by modules in the first
# line. These dependencies are noted on the respective module's README.md.
zmodules=(directory environment git git-info history input utility custom pacman \
zmodules=(directory environment git git-info history input utility custom \
syntax-highlighting history-substring-search prompt completion)
@ -70,7 +70,8 @@ ztermtitle='%n@%m:%~'
# https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters.md
# For (u)rxvt, termite and gnome-terminal users,
# removing the 'cursor' highlighter will fix the disappearing cursor problem
zhighlighters=(main brackets cursor)
#zhighlighters=(main brackets cursor)
zhighlighters=(main brackets)
#
@ -87,9 +88,9 @@ zhighlighters=(main brackets cursor)
# Set (optional) pacman front-end.
#zpacman_frontend='powerpill'
zpacman_frontend='pacmatic'
#zpacman_frontend='pacmatic'
# Load any helper scripts as defined here
#zpacman_helper=(aur)
zpacman_helper=(aur)
#zpacman_helper=(aur)

33
zshrc
View File

@ -1,3 +1,10 @@
#if [[ -f /etc/solus-release ]]; then
# if [[ $TILIX_ID || $VTE_VERSION ]]; then
# echo "Loading VTE extensions..."
# source /usr/share/defaults/etc/profile.d/vte.sh
# fi
#fi
#precmd_functions+=(__vte_osc7)
#
@ -23,17 +30,31 @@ export VISUAL=vim
export PAGER=less
export BORG_REPO=/mnt/backups/psi-jack/borg
#function custom_prompt() {
# VTE_PWD_THING="$(__vte_osc7)"
# PS1="$PS1$VTE_PWD_THING"
#}
if [[ -f /etc/solus-release ]]; then
export SSH_ASKPASS=/usr/lib64/seahorse/seahorse/ssh-askpass
if [[ $TILIX_ID || $VTE_VERSION ]]; then
source /usr/share/defaults/etc/profile.d/vte.sh
precmd_functions+=(__vte_osc7)
fi
fi
# Set GPG TTY
export GPG_TTY=$(tty)
#export GPG_TTY=$(tty)
# Refresh gpg-agent tty in case user switches into an X session
gpg-connect-agent updatestartuptty /bye >/dev/null
#gpg-connect-agent updatestartuptty /bye >/dev/null
# Update SSH Agent Socket
unset SSH_AGENT_PID
if [[ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]]; then
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
fi
#unset SSH_AGENT_PID
#if [[ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]]; then
# export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
#fi
# Disable Ctrl+S Scroll-Locking
stty -ixon