Add .config/alacritty/alacritty.yml
Update .config/kitty/current-theme.conf Update .config/kitty/kitty.conf Update .config/zsh/env.zsh Update .config/zsh/rc.zsh Add .config/zsh/.zprofile Add .config/zsh/zprofile.zsh
This commit is contained in:
parent
8275f2918c
commit
1095eaec35
7 changed files with 258 additions and 43 deletions
|
@ -1,6 +1,11 @@
|
|||
# path
|
||||
export PATH="$HOME"/.local/bin:"$PATH"
|
||||
|
||||
# ibus specific
|
||||
export GTK_IM_MODULE=ibus
|
||||
export QT_IM_MODULE=ibus
|
||||
export XMODIFIERS=@im=ibus
|
||||
|
||||
# xdg stuff
|
||||
export XDG_DATA_HOME="$HOME"/.local/share
|
||||
export XDG_CONFIG_HOME="$HOME"/.config
|
||||
|
@ -20,6 +25,8 @@ export FZF_MARKS_FILE="$XDG_CONFIG_HOME"/fzfmarks
|
|||
export DOCKER_CONFIG="$XDG_CONFIG_HOME"/docker
|
||||
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
||||
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
|
||||
export GDBHISTFILE="$XDG_CONFIG_HOME"/gdb/history
|
||||
export STARSHIP_CONFIG_DIR="$XDG_CONFIG_HOME"/starship
|
||||
|
||||
# data stuff
|
||||
export XCURSOR_PATH=/usr/share/icons:"$XDG_DATA_HOME"/icons
|
||||
|
@ -27,10 +34,16 @@ export GOPATH="$XDG_DATA_HOME"/go
|
|||
export CARGO_HOME="$XDG_DATA_HOME"/cargo
|
||||
export ASDF_DATA_DIR="$XDG_DATA_HOME"/asdf
|
||||
export NB_DIR="$XDG_DATA_HOME"/nb
|
||||
export DSTASK_GIT_REPO="$XDG_DATA_HOME"/dstask
|
||||
|
||||
# gpg
|
||||
#export GNUPGHOME="$XDG_DATA_HOME"/gnupg
|
||||
export GPG_TTY="$TTY"
|
||||
|
||||
# oath
|
||||
export OATH_EMAIL="nikolasweger@googlemail.com"
|
||||
export OATH_KEY="CF8884FDBBEBD52ED12C9CBAAA591DF04F25A9EA"
|
||||
|
||||
# man and less
|
||||
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
||||
export LESSHISTFILE="$XDG_STATE_HOME"/less/history
|
||||
|
@ -48,5 +61,11 @@ export SHELDON_CLONE_DIR="$SHELDON_DATA_DIR"/repos
|
|||
export SHELDON_DOWNLOAD_DIR="$SHELDON_DATA_DIR"/downloads
|
||||
|
||||
# starship
|
||||
export STARSHIP_CONFIG_DIR="$XDG_CONFIG_HOME"/starship
|
||||
export STARSHIP_CONFIG="$STARSHIP_CONFIG_DIR"/config.toml
|
||||
|
||||
# zellij
|
||||
export ZELLIJ_AUTO_ATTACH=true
|
||||
export ZELLIJ_AUTO_EXIT=true
|
||||
|
||||
# stuff
|
||||
export TERMINALNAME=$(fastfetch --pipe | grep -i terminal: | awk '{print $2}')
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
if test $(hostname) = "kali.hbz184-11"; then unset ZDOTDIR; exec zsh; fi # fix distrobox
|
||||
if test $TERMINALNAME = "alacritty"; then eval "$(zellij setup --generate-auto-start zsh)"; fi # don't autostart in kitty or konsole
|
||||
|
||||
#fastfetch
|
||||
bofh; echo " - BOFH"
|
||||
#source /usr/share/zsh/plugins/hq/hq.zsh
|
||||
#colorscript random
|
||||
|
||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.config/zsh/.zshrc.
|
||||
# Initialization code that may require console input (password prompts, [y/n]
|
||||
# confirmations, etc.) must go above this block; everything else may go below.
|
||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
@ -39,7 +40,7 @@ source /usr/share/ohmyzsh/lib/key-bindings.zsh
|
|||
source /usr/share/ohmyzsh/plugins/systemd/systemd.plugin.zsh
|
||||
source /usr/share/ohmyzsh/plugins/fzf/fzf.plugin.zsh
|
||||
|
||||
# plugins (own)
|
||||
# plugins (arch)
|
||||
source /usr/share/doc/find-the-command/ftc.zsh
|
||||
source /usr/share/zsh/plugins/fzf-tab/fzf-tab.zsh
|
||||
source /usr/share/zsh/plugins/fzf-marks/fzf-marks.zsh
|
||||
|
@ -47,8 +48,11 @@ source /usr/share/zsh/plugins/evalcache/evalcache.zsh
|
|||
source /usr/share/zsh/plugins/colorize/colorize.zsh
|
||||
source /usr/share/zsh/plugins/titles/titles.zsh
|
||||
source /usr/share/zsh/plugins/thefuck/thefuck.zsh
|
||||
source /usr/share/zsh/plugins/forgit/forgit.zsh
|
||||
source /usr/share/zsh/plugins/forgit/forgit.plugin.zsh
|
||||
source /usr/share/zsh/plugins/ysu/ysu.zsh
|
||||
source /usr/share/zsh/plugins/oath/oath.zsh
|
||||
|
||||
# plugins (self)
|
||||
source /home/weger/.config/zsh/distroicon.zsh
|
||||
source /home/weger/.config/zsh/transfer.zsh
|
||||
|
||||
|
@ -64,11 +68,11 @@ eval "$(keychain --dir "$XDG_CACHE_HOME/keychain" --eval --quiet id_rsa)"
|
|||
#themes
|
||||
source /usr/share/zsh/themes/powerlevel10k/powerlevel10k.zsh-theme
|
||||
#_evalcache starship init zsh
|
||||
#_evalcache oh-my-posh init zsh
|
||||
#_evalcache oh-my-posh init zsh --config /usr/share/oh-my-posh/themes/kali.omp.json
|
||||
|
||||
# aliases
|
||||
alias ls='exa'
|
||||
alias l='exa -al --color=always --group-directories-first'
|
||||
alias ls='exa --icons --color=always'
|
||||
alias l='ls -al --group-directories-first'
|
||||
alias cat='bat'
|
||||
alias cd='z'
|
||||
alias grep='rg'
|
||||
|
|
1
dot_config/zsh/symlink_dot_zprofile
Normal file
1
dot_config/zsh/symlink_dot_zprofile
Normal file
|
@ -0,0 +1 @@
|
|||
zprofile.zsh
|
0
dot_config/zsh/zprofile.zsh
Normal file
0
dot_config/zsh/zprofile.zsh
Normal file
Loading…
Add table
Add a link
Reference in a new issue