From 8f8c31cd279b01a754ca36bf66c641ddffcd6dc6 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Fri, 2 Aug 2024 19:38:56 +0400 Subject: theion.sh changed to profile with some minor changes --- config/shell/profile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 config/shell/profile (limited to 'config/shell/profile') diff --git a/config/shell/profile b/config/shell/profile new file mode 100644 index 0000000..264d4ef --- /dev/null +++ b/config/shell/profile @@ -0,0 +1,20 @@ +#Directories +export XDG_CACHE_HOME=$HOME/.cache +export XDG_CONFIG_HOME=$HOME/.config +export XDG_DATA_HOME=$HOME/.local/share +export XDG_STATE_HOME=$HOME/.local/state +export XINITRC="$XDG_CONFIG_HOME/X11/xinitrc" +export ZSHRC="$XDG_CONFIG_HOME/zsh/zshrc" + + +# Environment variables +[ -x "$(command -v vim)" ] && export EDITOR="vim" +[ -x "$(command -v nvim)" ] && export EDITOR="nvim" +[ -x "$(command -v st)" ] && export TERMINAL="st" +[ -x "$(command -v qutebrowser)" ] && export BROWSER="qutebrowser" + +export MAKEFLAGS="-j8" # Reduce compile times + +lfcd () { + cd "$(command lf -print-last-dir "$@")" +} -- cgit v1.2.3