initial files
This commit is contained in:
commit
11058af0e6
31
dot_config/environment
Normal file
31
dot_config/environment
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
. "/home/joel/.local/share/cargo/env"
|
||||||
|
|
||||||
|
# editor
|
||||||
|
export EDITOR=/usr/bin/nvim
|
||||||
|
export SUDO_EDITOR=/usr/bin/nvim
|
||||||
|
|
||||||
|
# wayland
|
||||||
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
export QT_QPA_PLATFORM=wayland
|
||||||
|
|
||||||
|
# sway stuff
|
||||||
|
#export XDG_CURRENT_DESKTOP=sway
|
||||||
|
#export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
|
#export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
|
||||||
|
|
||||||
|
# XDG enforcement
|
||||||
|
export ANDROID_HOME="$XDG_DATA_HOME"/android
|
||||||
|
export CARGO_HOME="$XDG_DATA_HOME"/cargo
|
||||||
|
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
|
||||||
|
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
||||||
|
export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc
|
||||||
|
export KDEHOME="$XDG_CONFIG_HOME"/kde
|
||||||
|
export LESSHISTFILE="$XDG_STATE_HOME"/less/history
|
||||||
|
export MINETEST_USER_PATH="$XDG_DATA_HOME"/minetest
|
||||||
|
export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
|
||||||
|
export SQLITE_HISTORY="$XDG_CACHE_HOME"/sqlite_history
|
||||||
|
export WINEPREFIX="$XDG_DATA_HOME"/wine
|
||||||
|
export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
|
||||||
|
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
|
||||||
|
|
||||||
|
export XBPS_DISTDIR=$HOME/repos/void-packages
|
1316
dot_config/ipython/profile_default/ipython_config.py
Normal file
1316
dot_config/ipython/profile_default/ipython_config.py
Normal file
File diff suppressed because it is too large
Load Diff
61
dot_config/zsh/dot_zshrc
Normal file
61
dot_config/zsh/dot_zshrc
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
### This configuration makes zsh fully "XDG compliant". One change is needed to
|
||||||
|
### /etc/zsh/zshenv (or equivalent upstream profile):
|
||||||
|
### `export ZDOTDIR="$HOME"/.config/zsh`
|
||||||
|
#
|
||||||
|
# Lines configured by zsh-newuser-install
|
||||||
|
export HISTFILE="$XDG_STATE_HOME"/zsh/history
|
||||||
|
HISTSIZE=1000
|
||||||
|
SAVEHIST=1000
|
||||||
|
setopt autocd
|
||||||
|
unsetopt beep
|
||||||
|
bindkey -v
|
||||||
|
# End of lines configured by zsh-newuser-install
|
||||||
|
# The following lines were added by compinstall
|
||||||
|
zstyle :compinstall filename '/home/joel/.zshrc'
|
||||||
|
|
||||||
|
autoload -Uz compinit
|
||||||
|
compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-"$ZSH_VERSION"
|
||||||
|
# End of lines added by compinstall
|
||||||
|
prependpath() {
|
||||||
|
case ":$PATH:" in
|
||||||
|
*:"$1":*)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
PATH="$1:${PATH:+$PATH}"
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
prependpath ~/bin
|
||||||
|
prependpath ~/repos/xxtools
|
||||||
|
|
||||||
|
### User configuration
|
||||||
|
# prompt configuration
|
||||||
|
autoload -Uz vcs_info
|
||||||
|
precmd_vcs_info () { vcs_info }
|
||||||
|
precmd_functions+=( precmd_vcs_info )
|
||||||
|
setopt prompt_subst
|
||||||
|
zstyle ':vcs_info:*' formats ' %F{green}%b'
|
||||||
|
PROMPT='%F{yellow}%n@%m %F{white}%1~%(?.. %?) $ '
|
||||||
|
RPROMPT='%f$vcs_info_msg_0_ '
|
||||||
|
|
||||||
|
alias bt='bluetoothctl'
|
||||||
|
alias c='clear'
|
||||||
|
alias daybreak='mosh daybreak -p 60101'
|
||||||
|
alias epoch='mosh epoch -p 60104'
|
||||||
|
alias l='exa -lh --git --all --octal-permissions'
|
||||||
|
alias ls='exa'
|
||||||
|
alias lsa='exa -a'
|
||||||
|
alias lss='exa -a'
|
||||||
|
alias xrm='sudo xbps-remove'
|
||||||
|
alias grc='gridcoinresearchd'
|
||||||
|
alias keychain='keychain --dir "$XDG_RUNTIME_DIR" --absolute'
|
||||||
|
|
||||||
|
# GPG setup (and SSH)
|
||||||
|
eval `keychain --quiet --eval --agents gpg D7F966B85D985743C76A17AC5A9572AE7B2E7E1C`
|
||||||
|
SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
||||||
|
export SSH_AUTH_SOCK
|
||||||
|
### End user configuration
|
||||||
|
|
||||||
|
### hooks/includes
|
||||||
|
. /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh
|
||||||
|
. /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||||
|
. /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
1
dot_config/zsh/symlink_dot_zprofile
Normal file
1
dot_config/zsh/symlink_dot_zprofile
Normal file
@ -0,0 +1 @@
|
|||||||
|
../environment
|
Loading…
Reference in New Issue
Block a user