lackadaisical/shrc
2026-03-08 20:54:07 +01:00

18 lines
454 B
Text
Executable file

#!/usr/bin/env -S echo Please run this program with: ". shrc" or include
# `FROM_RC=1 source shrc` in your RC file to set up an alias.
# Just opens your .rc file easily, for your current shell
# and sources the .rc afterwards!
# Source standard setup
if [[ $LD_INTERNAL -ne 1 ]];
then
LD_INTERNAL=1 source $LD_SOURCE_FILE
fi
shellname=$(basename $SHELL)
rc_name="."$shellname"rc"
rc_path="$HOME/$rc_name"
daisy_editor "$rc_path"
source "$rc_path"