diff options
Diffstat (limited to '')
-rw-r--r-- | home-config/zsh/zprofile | 59 | ||||
-rw-r--r-- | home-config/zsh/zshrc | 70 |
2 files changed, 0 insertions, 129 deletions
diff --git a/home-config/zsh/zprofile b/home-config/zsh/zprofile deleted file mode 100644 index 2fc8f23..0000000 --- a/home-config/zsh/zprofile +++ /dev/null @@ -1,59 +0,0 @@ -# Setup locale -export LANG=en_US.UTF-8 -export LC_COLLATE=C - -# Make sure programs know to use wayland -export QT_QPA_PLATFORM=xcb # fuck qt -export ELM_DISPLAY=wl -export SDL_VIDEODRIVER=wayland -export MOZ_ENABLE_WAYLAND=1 - -# Setup the desktop XDG session -export XDG_RUNTIME_DIR=/run/user/$(id -u) -export XDG_SESSION_TYPE=wayland -export XDG_CURRENT_DESKTOP=sway -export LIBSEAT_BACKEND=logind - -# Neovim go brrrr -export EDITOR=nvim - -# Fix java applications going fucking crazy on wayland -export _JAVA_AWT_WM_NONREPARENTING=1 - -# ricing -#export GTK_THEME=Catppuccin-Macchiato-Standard-Sapphire-dark -export GTK_THEME=Lavanda-Sea-Dark -#export GTK_THEME=Adwaita-dark - -# Set terminal -export TERMINAL=alacritty - -# Setup Guix Environment -export GUIX_PROFILE=$HOME/.guix-profile -$HOME/.guix-home/on-first-login -. $HOME/.guix-home/setup-environment - -# Setup Nix Environment -export NIX_PROFILE=$HOME/.nix-profile -export XDG_DATA_DIRS=$XDG_DATA_DIRS:$NIX_PROFILE/share -export PATH=$PATH:$NIX_PROFILE/bin -export LIBRARY_PATH=$LIBRARY_PATH:$NIX_PROFILE/lib - -# Setup User Environment -export LOCAL_PROFILE=$HOME/.local -export XDG_DATA_DIRS=$XDG_DATA_DIRS:$LOCAL_PROFILE/share -export PATH=$PATH:$LOCAL_PROFILE/bin - -# Setup Compilers -export CC=$(which gcc) -export LD=$(which gcc) - -# Setup certs -export SSL_CERT_FILE=/run/current-system/profile/etc/ssl/certs/ca-certificates.crt -export SSL_CERT_DIR=/run/current-system/profile/etc/ssl/certs - -# start sway only once and on the primary tty -if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then -# dbus-run-session Hyprland &> .log/hyprland - exec dbus-run-session sway &> .log/sway -fi diff --git a/home-config/zsh/zshrc b/home-config/zsh/zshrc deleted file mode 100644 index 4782ca4..0000000 --- a/home-config/zsh/zshrc +++ /dev/null @@ -1,70 +0,0 @@ -# Zsh shell initalization file - -# Export 'SHELL' to child processes -export SHELL - -if [[ $- != *i* ]] -then - # We are being invoked from a non-interactive shell. If this - # is an SSH session (as in "ssh host command"), source - # /etc/profile so we get PATH and other essential variables. - [[ -n "$SSH_CLIENT" ]] && source /etc/profile - - # Don't do anything else. - return -fi - -PATH=$PATH:$HOME/.cargo/bin - -# vim mode >:) -# no ryan i am not copying you -set -o vi -set show-mode-in-prompt on - -# Set shell prompt using starship -eval "$(starship init zsh)" - -# Set guix reconfigure aliases -alias reconfigure-system="sudo -E guix system -L $HOME/.config/guix/modules reconfigure $HOME/.config/guix/$(hostname).scm" -alias reconfigure-user="guix home -L $HOME/.config/guix/modules reconfigure $HOME/.config/guix/home-config/home-configuration.scm && home-manager switch" - -# Set other usefull aliases -alias neo="pfetch" -alias rf="rm -fr" # remove le french hon hon hon -alias config="/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME" -alias ls="ls --color=auto" -alias su="doas -s" - -# Have manpages use colors -man() { - env \ - LESS_TERMCAP_md=$'\e[1;36m' \ - LESS_TERMCAP_me=$'\e[0m' \ - LESS_TERMCAP_se=$'\e[0m' \ - LESS_TERMCAP_so=$'\e[1;92m' \ - LESS_TERMCAP_ue=$'\e[0m' \ - LESS_TERMCAP_us=$'\e[1;35m' \ - man "$@" -} - -# Enable zsh auto suggestions -autoload compinit && compinit -source $GUIX_PROFILE/share/zsh/zsh-autosuggestions/zsh-autosuggestions.zsh -ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#696e8a" -ZSH_AUTOSUGGEST_STRATEGY=(completion history) - -# Enable zsh keybinds for home, end, and other movement keybinds -bindkey "\e[1;5D" backward-word -bindkey "\e[1;5C" forward-word -bindkey "\e[3;5~" kill-word -bindkey "\C-_" backward-kill-word -bindkey "\e[3~" delete-char -bindkey "\e[H" beginning-of-line -bindkey "\e[F" end-of-line -bindkey "\e\d" undo - -# GPG SETUP FOR SSH -export GPG_TTY=$(tty) - -# ricing -pfetch |