From e419d10a3c12b3745611df4e9b6a3a00741a8f25 Mon Sep 17 00:00:00 2001 From: urosm Date: Wed, 20 Dec 2023 20:49:49 +0100 Subject: [PATCH] update `.profile` --- profile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/profile b/profile index a0e39fb..d60c44e 100644 --- a/profile +++ b/profile @@ -1,11 +1,18 @@ -# .profile +# ~/.profile +# if running bash if [ -n "$BASH_VERSION" ]; then + # include .bashrc if it exists if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi fi +# set PATH so it includes user's private bin if it exists +if [ -d "$HOME/bin" ] ; then + PATH="$HOME/bin:$PATH" +fi + # set PATH so it includes user's private bin if it exists if [ -d "$HOME/.local/bin" ]; then PATH="$HOME/.local/bin:$PATH" @@ -81,16 +88,11 @@ if [ "$(tty)" = "/dev/tty1" ] && command -v sway &>/dev/null; then # locale export LANG=sl_SI.UTF-8 export LC_MESSAGES=en_US.UTF-8 - # defaults export EDITOR=nvim export VISUAL=nvim export TERMINAL=footclient export BROWSER=firefox - - # wayland - # export WLR_DRM_NO_ATOMIC=1 - # run sway exec systemd-cat --identifier=sway sway fi