From: Andre Ramnitz Date: Sat, 19 Jul 2025 12:40:22 +0000 (+0200) Subject: bash: reset .profile to tumbleweed's default X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=refs%2Fheads%2Ftumbleweed;p=dotfiles.git bash: reset .profile to tumbleweed's default --- diff --git a/dot-profile b/dot-profile index 75d78c57..7e77f72c 100644 --- a/dot-profile +++ b/dot-profile @@ -1,11 +1,28 @@ -#!/bin/sh +# Sample .profile for SUSE Linux +# rewritten by Christian Steinruecken +# +# This file is read each time a login shell is started. +# All other interactive shells will only read .bashrc; this is particularly +# important for language settings, see below. -test -f /etc/profile && . /etc/profile +test -z "$PROFILEREAD" && . /etc/profile || true -export PATH="$PATH:$HOME/Applications:$HOME/go/bin:$HOME/.cargo/bin:/opt/android-sdk/platform-tools:$HOME/.local/bin" +grep -q suse /etc/os-release && . ~/.bash_profile || true -export EDITOR="kak" -export VISUAL="kak" -export MAN_PAGER="sh -c 'col -bx | bat -l man -p'" -export FZF_DEFAULT_OPTS='--multi --layout=reverse --preview-window=down:60% --color fg+:3,hl+:4' +# Some applications read the EDITOR variable to determine your favourite text +# editor. So uncomment the line below and enter the editor of your choice :-) +#export EDITOR=/usr/bin/vim +#export EDITOR=/usr/bin/mcedit +export EDITOR=/usr/bin/kak +# For some news readers it makes sense to specify the NEWSSERVER variable here +#export NEWSSERVER=your.news.server + +# Some people don't like fortune. If you uncomment the following lines, +# you will have a fortune each time you log in ;-) + +#if [ -x /usr/bin/fortune ] ; then +# echo +# /usr/bin/fortune +# echo +#fi