home cleanup

This commit is contained in:
2024-02-26 18:43:20 +01:00
parent 8d131c49e9
commit ef3f74f5f7
20 changed files with 2460 additions and 10 deletions

View File

@@ -74,3 +74,5 @@ alias em="emacs"
alias vim="nvim"
alias gua="git remote | xargs -L1 git push --all"
alias yarn='yarn --use-yarnrc "$XDG_CONFIG_HOME/yarn/config"'

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1880
zsh/.config/zsh/.zcompdump Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,8 +1,6 @@
fpath+=( /home/mike/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-romkatv-SLASH-powerlevel10k )
source /home/mike/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-romkatv-SLASH-powerlevel10k/powerlevel10k.zsh-theme
source /home/mike/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-romkatv-SLASH-powerlevel10k/powerlevel9k.zsh-theme
fpath+=( /home/mike/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-rupa-SLASH-z )
source /home/mike/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-rupa-SLASH-z/z.sh
fpath+=( /home/mike/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-ohmyzsh-SLASH-ohmyzsh/lib )
source /home/mike/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-ohmyzsh-SLASH-ohmyzsh/lib/bzr.zsh
source /home/mike/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-ohmyzsh-SLASH-ohmyzsh/lib/clipboard.zsh

View File

@@ -6,7 +6,7 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
fi
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTFILE=~/.config/zsh/.histfile
HISTSIZE=10000000
SAVEHIST=10000000
setopt extendedglob
@@ -14,7 +14,7 @@ unsetopt autocd beep
bindkey -v
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/mike/.zshrc'
zstyle :compinstall filename '/home/mike/.config/zsh/.zshrc'
autoload -Uz compinit
compinit
@@ -23,7 +23,7 @@ _comp_options+=(globdots)
source '/usr/share/zsh-antidote/antidote.zsh'
antidote load
source ~/.aliases
source ~/.config/zsh/.aliases
# vi mode
bindkey -v
@@ -179,4 +179,4 @@ fi
eval "$(zoxide init zsh)"
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
[[ ! -f ~/.config/zsh/.p10k.zsh ]] || source ~/.config/zsh/.p10k.zsh

View File

@@ -8,7 +8,36 @@ export BROWSER='firefox';
export BAT_THEME="Catppuccin-mocha";
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CONFIG_HOME="$HOME/.config"
# ~/ clean-up:
export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" # this line will break some DMs.
export GTK2_RC_FILES="$HOME/.config/gtk-2.0/gtkrc-2.0"
export NOTMUCH_CONFIG="$HOME/.config/notmuch-config"
export LESSHISTFILE="-"
export WGETRC="$HOME/.config/wget/wgetrc"
export INPUTRC="$HOME/.config/inputrc"
export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
export ZDOTDIR="$HOME/.config/zsh"
export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
export PASSWORD_STORE_DIR="$HOME/.local/share/password-store"
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export WINEPREFIX="$XDG_DATA_HOME/wineprefixes/default"
export DVDCSS_CACHE="$XDG_DATA_HOME"/dvdcss
export _Z_DATA="$XDG_DATA_HOME/z"
export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
export CARGO_HOME="$XDG_DATA_HOME"/cargo
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
export XDG_DESKTOP_DIR="$HOME/docs/desktop"
export XDG_DOWNLOAD_DIR="$HOME/downloads"
export XDG_TEMPLATES_DIR="$HOME/docs/templates"
export XDG_PUBLICSHARE_DIR="$HOME/docs/public"
export XDG_DOCUMENTS_DIR="$HOME/docs"
export XDG_MUSIC_DIR="$HOME/music"
export XDG_PICTURES_DIR="$HOME/pics"
export XDG_VIDEOS_DIR="$HOME/videos"
# Enable persistent REPL history for `node`.
export NODE_REPL_HISTORY=~/.node_history;
# Allow 32³ entries; the default is 1000.