Compare commits

...

6 Commits

4 changed files with 22 additions and 5 deletions

4
.chezmoi.yaml.tmpl Normal file
View File

@ -0,0 +1,4 @@
sourceDir: ~/repos/dotfiles
merge:
command: vim
args: "-d"

6
.chezmoiignore Normal file
View File

@ -0,0 +1,6 @@
{{- if eq .chezmoi.hostname "WGC1065CTK7C3" }}
.config/beets
.config/sway
.config/waybar
.config/kitty
{{- end }}

View File

@ -1,3 +1,5 @@
# icky, but necessary since this might inject the needed XDG vars
. "$HOME/.config/environment.local"
. "$XDG_DATA_HOME/cargo/env" . "$XDG_DATA_HOME/cargo/env"
# editor # editor

View File

@ -4,6 +4,7 @@
# #
# Lines configured by zsh-newuser-install # Lines configured by zsh-newuser-install
export HISTFILE="$XDG_STATE_HOME"/zsh/history export HISTFILE="$XDG_STATE_HOME"/zsh/history
mkdir -p "$(dirname $HISTFILE)"
HISTSIZE=1000 HISTSIZE=1000
SAVEHIST=1000 SAVEHIST=1000
setopt autocd setopt autocd
@ -41,18 +42,22 @@ alias bt='bluetoothctl'
alias c='clear' alias c='clear'
alias daybreak='mosh daybreak -p 60101' alias daybreak='mosh daybreak -p 60101'
alias epoch='mosh epoch -p 60104' alias epoch='mosh epoch -p 60104'
alias grc='gridcoinresearchd'
alias l='exa -lh --git --all --octal-permissions' alias l='exa -lh --git --all --octal-permissions'
alias ls='exa' alias ls='exa'
alias lsa='exa -a' alias lsa='exa -a'
alias lss='exa -a' alias lss='exa -a'
alias xrm='sudo xbps-remove' alias xrm='sudo xbps-remove'
alias grc='gridcoinresearchd'
alias keychain='keychain --dir "$XDG_RUNTIME_DIR" --absolute'
# GPG setup (and SSH) # GPG setup (and SSH)
if command -v keychain; then
alias keychain='keychain --dir "$XDG_RUNTIME_DIR" --absolute'
eval `keychain --quiet --eval --agents gpg D7F966B85D985743C76A17AC5A9572AE7B2E7E1C` eval `keychain --quiet --eval --agents gpg D7F966B85D985743C76A17AC5A9572AE7B2E7E1C`
fi
if command -v gpgconf; then
SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
export SSH_AUTH_SOCK export SSH_AUTH_SOCK
fi
### End user configuration ### End user configuration
### hooks/includes ### hooks/includes