Updated to work with Solus
This commit is contained in:
parent
c7e0314bf7
commit
3a106841ba
6 changed files with 42 additions and 15 deletions
|
@ -16,3 +16,5 @@
|
||||||
gpgsign = true
|
gpgsign = true
|
||||||
[alias]
|
[alias]
|
||||||
up = !git pull --prune $@ && git submodule update --init --recursive
|
up = !git pull --prune $@ && git submodule update --init --recursive
|
||||||
|
[credential]
|
||||||
|
helper = /usr/lib/git/git-core/git-credential-store
|
||||||
|
|
|
@ -2,6 +2,5 @@ EDITOR=vim
|
||||||
VISUAL=vim
|
VISUAL=vim
|
||||||
#PATH DEFAULT=${PATH}:/home/@{PAM_USER}/bin
|
#PATH DEFAULT=${PATH}:/home/@{PAM_USER}/bin
|
||||||
#PATH DEFAULT=${PATH}:@{HOME}/bin
|
#PATH DEFAULT=${PATH}:@{HOME}/bin
|
||||||
SSH_ASKPASS=/usr/lib/ssh/x11-ssh-askpass
|
#SSH_ASKPASS=/usr/lib/ssh/x11-ssh-askpass
|
||||||
|
#QT_QPA_PLATFORMTHEME=qgnomeplatform
|
||||||
QT_QPA_PLATFORMTHEME=qgnomeplatform
|
|
||||||
|
|
6
profile
6
profile
|
@ -1,4 +1,8 @@
|
||||||
|
if [[ -f /etc/solus-release ]]; then
|
||||||
|
source /usr/share/defaults/etc/profile
|
||||||
|
fi
|
||||||
|
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
export PATH=$PATH:$HOME/bin
|
export PATH=$PATH:$HOME/bin
|
||||||
export QT_QPA_PLATFORMTHEME=qgnomeplatform
|
#export QT_QPA_PLATFORMTHEME=qgnomeplatform
|
||||||
|
|
||||||
|
|
|
@ -270,7 +270,7 @@ set -g mode-keys vi
|
||||||
#set -g status-position top
|
#set -g status-position top
|
||||||
|
|
||||||
# set shell to zsh
|
# 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
|
# set alt+left/right to switch windows
|
||||||
bind -n M-Right next-window
|
bind -n M-Right next-window
|
||||||
|
|
9
zimrc
9
zimrc
|
@ -11,7 +11,7 @@
|
||||||
# Select what modules you would like enabled.
|
# Select what modules you would like enabled.
|
||||||
# The second line of modules may depend on options set by modules in the first
|
# 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.
|
# 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)
|
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
|
# https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters.md
|
||||||
# For (u)rxvt, termite and gnome-terminal users,
|
# For (u)rxvt, termite and gnome-terminal users,
|
||||||
# removing the 'cursor' highlighter will fix the disappearing cursor problem
|
# 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.
|
# Set (optional) pacman front-end.
|
||||||
#zpacman_frontend='powerpill'
|
#zpacman_frontend='powerpill'
|
||||||
zpacman_frontend='pacmatic'
|
#zpacman_frontend='pacmatic'
|
||||||
|
|
||||||
# Load any helper scripts as defined here
|
# Load any helper scripts as defined here
|
||||||
#zpacman_helper=(aur)
|
#zpacman_helper=(aur)
|
||||||
zpacman_helper=(aur)
|
#zpacman_helper=(aur)
|
||||||
|
|
||||||
|
|
33
zshrc
33
zshrc
|
@ -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 PAGER=less
|
||||||
export BORG_REPO=/mnt/backups/psi-jack/borg
|
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
|
# Set GPG TTY
|
||||||
export GPG_TTY=$(tty)
|
#export GPG_TTY=$(tty)
|
||||||
|
|
||||||
# Refresh gpg-agent tty in case user switches into an X session
|
# 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
|
# Update SSH Agent Socket
|
||||||
unset SSH_AGENT_PID
|
#unset SSH_AGENT_PID
|
||||||
if [[ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]]; then
|
#if [[ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]]; then
|
||||||
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
# export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
# Disable Ctrl+S Scroll-Locking
|
# Disable Ctrl+S Scroll-Locking
|
||||||
stty -ixon
|
stty -ixon
|
||||||
|
|
Loading…
Reference in a new issue