dotfiles/.profile

24 lines
534 B
Bash

export VISUAL=vim
export EDITOR=vim
export SYSTEMD_EDITOR="/usr/bin/vim"
export PAGER=less
export BROWSER=/usr/bin/firefox
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
export MOZ_ENABLE_WAYLAND=1
export MOZ_DBUS_REMOTE=1
fi
# for KDE browser integration
export GTK_USE_PORTAL=1
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
PATH="$HOME/.local/bin:$PATH"