migrated zsh and generic shell configs

This commit is contained in:
pr0c3550r 2023-01-30 21:42:42 +01:00
parent 045a4401e5
commit 6735cf79f8
3 changed files with 192 additions and 0 deletions

View file

@ -0,0 +1,33 @@
#!/bin/sh
# profile file. Runs on login.
# Environmental variables are set here.
# Expanding $PATH to set ./local/bin
export PATH="$PATH:${$(find ~/.local/bin -type d -printf %p:)%%:}"
# Default programs:
export EDITOR="nvim"
export TERMINAL="st"
export TERM="tmux-256color"
export BROWSER="firefox"
# XDG
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"
# Moving home config files to .config
export XINITRC="${XDG_CONFIG_HOME:-$HOME/.config}/x11/xinitrc"
export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/zsh"
export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0"
export WGETRC="${XDG_CONFIG_HOME:-$HOME/.config}/wget/wgetrc"
export HISTFILE="${XDG_DATA_HOME:-$HOME/.local/share}/history"
export WALLPAPER=~/Pictures/Wallpaper/coast.jpg
# NNN file manager
export NNN_FCOLORS='0B0B04060006060009060B06'
export LESSHISTFILE="-"